diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-20 13:43:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-20 13:43:33 -0300 |
commit | 55ac40f859ad8e28fe71a8801d49f4a4140e8aa3 (patch) | |
tree | 1a1f02de45d28c7eb8976087ade773d7937bed14 /luaconf.h | |
parent | 97ef8e7bd40340d47a9789beb06f0128d7438d0a (diff) | |
download | lua-55ac40f859ad8e28fe71a8801d49f4a4140e8aa3.tar.gz lua-55ac40f859ad8e28fe71a8801d49f4a4140e8aa3.tar.bz2 lua-55ac40f859ad8e28fe71a8801d49f4a4140e8aa3.zip |
Cleaning of llimits.h
Several definitions that don't need to be "global" (that is, that
concerns only specific parts of the code) moved out of llimits.h,
to more appropriate places.
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -722,10 +722,7 @@ | |||
722 | @@ LUA_USE_APICHECK turns on several consistency checks on the C API. | 722 | @@ LUA_USE_APICHECK turns on several consistency checks on the C API. |
723 | ** Define it as a help when debugging C code. | 723 | ** Define it as a help when debugging C code. |
724 | */ | 724 | */ |
725 | #if defined(LUA_USE_APICHECK) | 725 | /* #define LUA_USE_APICHECK */ |
726 | #include <assert.h> | ||
727 | #define luai_apicheck(l,e) assert(e) | ||
728 | #endif | ||
729 | 726 | ||
730 | /* }================================================================== */ | 727 | /* }================================================================== */ |
731 | 728 | ||