aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/lua.h b/lua.h
index 1738b6d8..1d76115f 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.299 2014/02/13 12:11:34 roberto Exp roberto $ 2** $Id: lua.h,v 1.300 2014/02/25 14:30:21 roberto Exp roberto $
3** Lua - A Scripting Language 3** Lua - A Scripting Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -228,12 +228,13 @@ LUA_API int (lua_pushthread) (lua_State *L);
228/* 228/*
229** get functions (Lua -> stack) 229** get functions (Lua -> stack)
230*/ 230*/
231LUA_API void (lua_getglobal) (lua_State *L, const char *var); 231LUA_API int (lua_getglobal) (lua_State *L, const char *var);
232LUA_API void (lua_gettable) (lua_State *L, int idx); 232LUA_API int (lua_gettable) (lua_State *L, int idx);
233LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k); 233LUA_API int (lua_getfield) (lua_State *L, int idx, const char *k);
234LUA_API void (lua_rawget) (lua_State *L, int idx); 234LUA_API int (lua_rawget) (lua_State *L, int idx);
235LUA_API void (lua_rawgeti) (lua_State *L, int idx, lua_Integer n); 235LUA_API int (lua_rawgeti) (lua_State *L, int idx, lua_Integer n);
236LUA_API void (lua_rawgetp) (lua_State *L, int idx, const void *p); 236LUA_API int (lua_rawgetp) (lua_State *L, int idx, const void *p);
237
237LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec); 238LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec);
238LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); 239LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz);
239LUA_API int (lua_getmetatable) (lua_State *L, int objindex); 240LUA_API int (lua_getmetatable) (lua_State *L, int objindex);