diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-08-23 13:50:38 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-08-23 13:50:38 -0300 |
commit | 9363a8b9901a5643c9da061ea8dda8a86cdc7ef1 (patch) | |
tree | 1fa57415cedba4299b3c003d5f83d126cfb5031e | |
parent | 5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d (diff) | |
download | lua-9363a8b9901a5643c9da061ea8dda8a86cdc7ef1.tar.gz lua-9363a8b9901a5643c9da061ea8dda8a86cdc7ef1.tar.bz2 lua-9363a8b9901a5643c9da061ea8dda8a86cdc7ef1.zip |
Documentation for "LUA_NOENV"
Registry field "LUA_NOENV" (that signals to libraries that option -E
is on) now part of the "official" API of Lua stand-alone.
-rw-r--r-- | manual/manual.of | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manual/manual.of b/manual/manual.of index f8d8ddd4..ad120f5e 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
@@ -9026,6 +9026,10 @@ Lua does not consult any environment variables. | |||
9026 | In particular, | 9026 | In particular, |
9027 | the values of @Lid{package.path} and @Lid{package.cpath} | 9027 | the values of @Lid{package.path} and @Lid{package.cpath} |
9028 | are set with the default paths defined in @id{luaconf.h}. | 9028 | are set with the default paths defined in @id{luaconf.h}. |
9029 | To signal to the libraries that this option is on, | ||
9030 | the stand-alone interpreter sets the field | ||
9031 | @idx{"LUA_NOENV"} in the registry to a true value. | ||
9032 | Other libraries may consult this field for the same purpose. | ||
9029 | 9033 | ||
9030 | The options @T{-e}, @T{-l}, and @T{-W} are handled in | 9034 | The options @T{-e}, @T{-l}, and @T{-W} are handled in |
9031 | the order they appear. | 9035 | the order they appear. |