summaryrefslogtreecommitdiff
path: root/manual.txt
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2012-01-19 00:19:47 +1030
committerMark Pulford <mark@kyne.com.au>2012-03-04 18:54:35 +1030
commit88bb249473db4e4923e4c27a8e3ece7a77e738ce (patch)
tree9c7d5d537fb539aca1f17b75c7296d1f6489de22 /manual.txt
parent1a5460be319ac29af31f201fbf9775340262ba9b (diff)
downloadlua-cjson-88bb249473db4e4923e4c27a8e3ece7a77e738ce.tar.gz
lua-cjson-88bb249473db4e4923e4c27a8e3ece7a77e738ce.tar.bz2
lua-cjson-88bb249473db4e4923e4c27a8e3ece7a77e738ce.zip
Disable registration of cjson global variable
Disable registration of cjson module table global variable in the default build. Automatically creating a variable in the global namespace can cause issues for other software and is no longer recommended with Lua.
Diffstat (limited to 'manual.txt')
-rw-r--r--manual.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual.txt b/manual.txt
index 3417750..62485fd 100644
--- a/manual.txt
+++ b/manual.txt
@@ -113,9 +113,9 @@ Build Options (#define)
113~~~~~~~~~~~~~~~~~~~~~~~ 113~~~~~~~~~~~~~~~~~~~~~~~
114 114
115[horizontal] 115[horizontal]
116ENABLE_CJSON_GLOBAL:: Register +cjson+ module table as a global
117 variable (not recommended).
116USE_INTERNAL_ISINF:: Workaround for Solaris platforms missing ++isinf++(3). 118USE_INTERNAL_ISINF:: Workaround for Solaris platforms missing ++isinf++(3).
117DISABLE_CJSON_GLOBAL:: Do not store module table in global "cjson"
118 variable. Redundant from Lua 5.2 onwards.
119DISABLE_INVALID_NUMBERS:: Recommended on platforms where ++strtod++(3) / 119DISABLE_INVALID_NUMBERS:: Recommended on platforms where ++strtod++(3) /
120 ++sprintf++(3) are not POSIX compliant (Eg, Windows MinGW). Prevents 120 ++sprintf++(3) are not POSIX compliant (Eg, Windows MinGW). Prevents
121 +cjson.encode_invalid_numbers+ and +cjson.decode_invalid_numbers+ 121 +cjson.encode_invalid_numbers+ and +cjson.decode_invalid_numbers+