11 #include "engines/grim/lua/lua.h" 28 #define luaL_arg_check(cond, numarg, extramsg) if (!(cond)) luaL_argerror(numarg,extramsg) 30 void luaL_openlib(
luaL_reg *l, int32 n);
31 void luaL_addlibtolist(
luaL_reg *l, int32 n);
32 void luaL_argerror(int32 numarg,
const char *extramsg);
33 const char *luaL_check_string(int32 numArg);
34 const char *luaL_opt_string(int32 numArg,
const char *def);
35 float luaL_check_number(int32 numArg);
36 float luaL_opt_number(int32 numArg,
float def);
37 lua_Object luaL_functionarg(int32 arg);
38 lua_Object luaL_tablearg(int32 arg);
39 lua_Object luaL_nonnullarg(int32 numArg);
40 void luaL_verror(
const char *fmt, ...);
41 char *luaL_openspace(int32 size);
42 void luaL_resetbuffer();
43 void luaL_addchar(int32 c);
44 void luaL_addsize(int32 n);
45 int32 luaL_newbuffer(int32 size);
46 void luaL_oldbuffer(int32 old);