diff options
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.18 2000/05/24 13:54:49 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.19 2000/08/09 19:16:57 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -27,14 +27,15 @@ const char *luaL_opt_lstr (lua_State *L, int numArg, const char *def, | |||
27 | size_t *len); | 27 | size_t *len); |
28 | double luaL_check_number (lua_State *L, int numArg); | 28 | double luaL_check_number (lua_State *L, int numArg); |
29 | double luaL_opt_number (lua_State *L, int numArg, double def); | 29 | double luaL_opt_number (lua_State *L, int numArg, double def); |
30 | lua_Object luaL_functionarg (lua_State *L, int arg); | 30 | |
31 | lua_Object luaL_tablearg (lua_State *L, int arg); | 31 | void luaL_checktype(lua_State *L, int narg, const char *tname); |
32 | lua_Object luaL_nonnullarg (lua_State *L, int numArg); | 32 | |
33 | void luaL_verror (lua_State *L, const char *fmt, ...); | 33 | void luaL_verror (lua_State *L, const char *fmt, ...); |
34 | int luaL_findstring (const char *name, const char *const list[]); | 34 | int luaL_findstring (const char *name, const char *const list[]); |
35 | void luaL_chunkid (char *out, const char *source, int len); | 35 | void luaL_chunkid (char *out, const char *source, int len); |
36 | void luaL_filesource (char *out, const char *filename, int len); | 36 | void luaL_filesource (char *out, const char *filename, int len); |
37 | 37 | ||
38 | |||
38 | char *luaL_openspace (lua_State *L, size_t size); | 39 | char *luaL_openspace (lua_State *L, size_t size); |
39 | void luaL_resetbuffer (lua_State *L); | 40 | void luaL_resetbuffer (lua_State *L); |
40 | void luaL_addchar (lua_State *L, int c); | 41 | void luaL_addchar (lua_State *L, int c); |
@@ -91,9 +92,6 @@ char *luaL_buffer (lua_State *L); | |||
91 | (luaL_opt_lstr)(lua_state,numArg,def,len) | 92 | (luaL_opt_lstr)(lua_state,numArg,def,len) |
92 | #define luaL_check_number(numArg) (luaL_check_number)(lua_state,numArg) | 93 | #define luaL_check_number(numArg) (luaL_check_number)(lua_state,numArg) |
93 | #define luaL_opt_number(numArg,def) (luaL_opt_number)(lua_state,numArg,def) | 94 | #define luaL_opt_number(numArg,def) (luaL_opt_number)(lua_state,numArg,def) |
94 | #define luaL_functionarg(arg) (luaL_functionarg)(lua_state,arg) | ||
95 | #define luaL_tablearg(arg) (luaL_tablearg)(lua_state,arg) | ||
96 | #define luaL_nonnullarg(numArg) (luaL_nonnullarg)(lua_state,numArg) | ||
97 | #define luaL_openspace(size) (luaL_openspace)(lua_state,size) | 95 | #define luaL_openspace(size) (luaL_openspace)(lua_state,size) |
98 | #define luaL_resetbuffer() (luaL_resetbuffer)(lua_state) | 96 | #define luaL_resetbuffer() (luaL_resetbuffer)(lua_state) |
99 | #define luaL_addchar(c) (luaL_addchar)(lua_state,c) | 97 | #define luaL_addchar(c) (luaL_addchar)(lua_state,c) |