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.
This commit is contained in:
Roberto Ierusalimschy
2024-06-20 13:43:33 -03:00
parent 97ef8e7bd4
commit 55ac40f859
19 changed files with 159 additions and 165 deletions

View File

@@ -722,10 +722,7 @@
@@ LUA_USE_APICHECK turns on several consistency checks on the C API.
** Define it as a help when debugging C code.
*/
#if defined(LUA_USE_APICHECK)
#include <assert.h>
#define luai_apicheck(l,e) assert(e)
#endif
/* #define LUA_USE_APICHECK */
/* }================================================================== */