diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-14 19:47:29 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-14 19:47:29 -0200 |
| commit | b0a5e156b8e6913c6eb8ed65ab28576b8b88f461 (patch) | |
| tree | 11b32d6436e2c663171127990509d091c1ea847d /lua.h | |
| parent | ac178ee4788c13761ec0850b31ff17673a33f227 (diff) | |
| download | lua-b0a5e156b8e6913c6eb8ed65ab28576b8b88f461.tar.gz lua-b0a5e156b8e6913c6eb8ed65ab28576b8b88f461.tar.bz2 lua-b0a5e156b8e6913c6eb8ed65ab28576b8b88f461.zip | |
no more maximum stack size
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -57,12 +57,12 @@ typedef int (*lua_CFunction) (lua_State *L); | |||
| 57 | */ | 57 | */ |
| 58 | #define LUA_TNONE (-1) | 58 | #define LUA_TNONE (-1) |
| 59 | 59 | ||
| 60 | #define LUA_TUSERDATA 0 | 60 | #define LUA_TNIL 0 |
| 61 | #define LUA_TNIL 1 | 61 | #define LUA_TNUMBER 1 |
| 62 | #define LUA_TNUMBER 2 | 62 | #define LUA_TSTRING 2 |
| 63 | #define LUA_TBOOLEAN 3 | 63 | #define LUA_TBOOLEAN 3 |
| 64 | #define LUA_TSTRING 4 | 64 | #define LUA_TTABLE 4 |
| 65 | #define LUA_TTABLE 5 | 65 | #define LUA_TUSERDATA 5 |
| 66 | #define LUA_TFUNCTION 6 | 66 | #define LUA_TFUNCTION 6 |
| 67 | 67 | ||
| 68 | 68 | ||
| @@ -94,9 +94,9 @@ typedef LUA_NUMBER lua_Number; | |||
| 94 | /* | 94 | /* |
| 95 | ** state manipulation | 95 | ** state manipulation |
| 96 | */ | 96 | */ |
| 97 | LUA_API lua_State *lua_open (int stacksize); | 97 | LUA_API lua_State *lua_open (void); |
| 98 | LUA_API void lua_close (lua_State *L); | 98 | LUA_API void lua_close (lua_State *L); |
| 99 | LUA_API lua_State *lua_newthread (lua_State *L, int stacksize); | 99 | LUA_API lua_State *lua_newthread (lua_State *L); |
| 100 | LUA_API void lua_closethread (lua_State *L, lua_State *thread); | 100 | LUA_API void lua_closethread (lua_State *L, lua_State *thread); |
| 101 | 101 | ||
| 102 | 102 | ||
