diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-29 17:43:28 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-29 17:43:28 -0300 |
| commit | a97f29f15487c5f584185f646f9cfc06a04b26ca (patch) | |
| tree | e7ffd959fb80f9622d74a2efadfd7880037d64ca /lauxlib.h | |
| parent | 4135f4f5862b57d9dbf3e9b7c6507f5c86516327 (diff) | |
| download | lua-a97f29f15487c5f584185f646f9cfc06a04b26ca.tar.gz lua-a97f29f15487c5f584185f646f9cfc06a04b26ca.tar.bz2 lua-a97f29f15487c5f584185f646f9cfc06a04b26ca.zip | |
explicit stack control in the API
Diffstat (limited to 'lauxlib.h')
| -rw-r--r-- | lauxlib.h | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.h,v 1.19 2000/08/09 19:16:57 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.20 2000/08/28 17:57:04 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 | */ |
| @@ -28,7 +28,8 @@ const char *luaL_opt_lstr (lua_State *L, int numArg, const char *def, | |||
| 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 | 30 | ||
| 31 | void luaL_checktype(lua_State *L, int narg, const char *tname); | 31 | void luaL_checkstack (lua_State *L, int space, const char *msg); |
| 32 | void luaL_checktype (lua_State *L, int narg, const char *tname); | ||
| 32 | 33 | ||
| 33 | void luaL_verror (lua_State *L, const char *fmt, ...); | 34 | void luaL_verror (lua_State *L, const char *fmt, ...); |
| 34 | int luaL_findstring (const char *name, const char *const list[]); | 35 | int luaL_findstring (const char *name, const char *const list[]); |
