diff options
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.158 2002/10/22 17:18:28 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.159 2002/10/22 17:21:25 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil | 4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil |
5 | ** http://www.lua.org mailto:info@lua.org | 5 | ** http://www.lua.org mailto:info@lua.org |
@@ -70,6 +70,7 @@ typedef const char * (*lua_Chunkreader) (lua_State *L, void *ud, size_t *sz); | |||
70 | #define LUA_TTABLE 5 | 70 | #define LUA_TTABLE 5 |
71 | #define LUA_TFUNCTION 6 | 71 | #define LUA_TFUNCTION 6 |
72 | #define LUA_TUSERDATA 7 | 72 | #define LUA_TUSERDATA 7 |
73 | #define LUA_TTHREAD 8 | ||
73 | 74 | ||
74 | 75 | ||
75 | /* minimum Lua stack available to a C function */ | 76 | /* minimum Lua stack available to a C function */ |
@@ -104,7 +105,6 @@ typedef LUA_NUMBER lua_Number; | |||
104 | LUA_API lua_State *lua_open (void); | 105 | LUA_API lua_State *lua_open (void); |
105 | LUA_API void lua_close (lua_State *L); | 106 | LUA_API void lua_close (lua_State *L); |
106 | LUA_API lua_State *lua_newthread (lua_State *L); | 107 | LUA_API lua_State *lua_newthread (lua_State *L); |
107 | LUA_API void lua_closethread (lua_State *L, lua_State *t); | ||
108 | 108 | ||
109 | LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf); | 109 | LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf); |
110 | 110 | ||
@@ -142,6 +142,7 @@ LUA_API const char *lua_tostring (lua_State *L, int idx); | |||
142 | LUA_API size_t lua_strlen (lua_State *L, int idx); | 142 | LUA_API size_t lua_strlen (lua_State *L, int idx); |
143 | LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx); | 143 | LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx); |
144 | LUA_API void *lua_touserdata (lua_State *L, int idx); | 144 | LUA_API void *lua_touserdata (lua_State *L, int idx); |
145 | LUA_API lua_State *lua_tothread (lua_State *L, int idx); | ||
145 | LUA_API const void *lua_topointer (lua_State *L, int idx); | 146 | LUA_API const void *lua_topointer (lua_State *L, int idx); |
146 | 147 | ||
147 | 148 | ||