diff options
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.207 2005/05/16 19:21:11 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.208 2005/05/17 19:49:15 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 | 5 | ** http://www.lua.org |
@@ -147,7 +147,7 @@ LUA_API lua_Number (lua_tonumber) (lua_State *L, int idx); | |||
147 | LUA_API lua_Integer (lua_tointeger) (lua_State *L, int idx); | 147 | LUA_API lua_Integer (lua_tointeger) (lua_State *L, int idx); |
148 | LUA_API int (lua_toboolean) (lua_State *L, int idx); | 148 | LUA_API int (lua_toboolean) (lua_State *L, int idx); |
149 | LUA_API const char *(lua_tolstring) (lua_State *L, int idx, size_t *len); | 149 | LUA_API const char *(lua_tolstring) (lua_State *L, int idx, size_t *len); |
150 | LUA_API size_t (lua_objsize) (lua_State *L, int idx); | 150 | LUA_API size_t (lua_objlen) (lua_State *L, int idx); |
151 | LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx); | 151 | LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx); |
152 | LUA_API void *(lua_touserdata) (lua_State *L, int idx); | 152 | LUA_API void *(lua_touserdata) (lua_State *L, int idx); |
153 | LUA_API lua_State *(lua_tothread) (lua_State *L, int idx); | 153 | LUA_API lua_State *(lua_tothread) (lua_State *L, int idx); |
@@ -257,7 +257,7 @@ LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); | |||
257 | 257 | ||
258 | #define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0) | 258 | #define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0) |
259 | 259 | ||
260 | #define lua_strlen(L,i) lua_objsize(L, (i)) | 260 | #define lua_strlen(L,i) lua_objlen(L, (i)) |
261 | 261 | ||
262 | #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION) | 262 | #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION) |
263 | #define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE) | 263 | #define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE) |