aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 894c2e0a..edff2286 100644
--- a/lua.h
+++ b/lua.h
@@ -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);
147LUA_API lua_Integer (lua_tointeger) (lua_State *L, int idx); 147LUA_API lua_Integer (lua_tointeger) (lua_State *L, int idx);
148LUA_API int (lua_toboolean) (lua_State *L, int idx); 148LUA_API int (lua_toboolean) (lua_State *L, int idx);
149LUA_API const char *(lua_tolstring) (lua_State *L, int idx, size_t *len); 149LUA_API const char *(lua_tolstring) (lua_State *L, int idx, size_t *len);
150LUA_API size_t (lua_objsize) (lua_State *L, int idx); 150LUA_API size_t (lua_objlen) (lua_State *L, int idx);
151LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx); 151LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx);
152LUA_API void *(lua_touserdata) (lua_State *L, int idx); 152LUA_API void *(lua_touserdata) (lua_State *L, int idx);
153LUA_API lua_State *(lua_tothread) (lua_State *L, int idx); 153LUA_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)