lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I have been hacking away at Lua for the past few weeks and have enabled asserts with the following code at the top of luaconf.h:
> 
> #include <assert.h>
> #define lua_assert(x)  assert(x)
> #define LUA_USE_APICHECK

#define LUA_USE_APICHECK should suffice. See llimits.h.