summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-10-24 12:54:05 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-10-24 12:54:05 -0200
commitaf00a0772ca1a37f6d8cce5b6c03cc86db0389c3 (patch)
tree571699f16a48330ffd686ab97839dcdbb1d1449d /lua.h
parent6819c2a98adebaea1a8d1b065364f3b3748072aa (diff)
downloadlua-af00a0772ca1a37f6d8cce5b6c03cc86db0389c3.tar.gz
lua-af00a0772ca1a37f6d8cce5b6c03cc86db0389c3.tar.bz2
lua-af00a0772ca1a37f6d8cce5b6c03cc86db0389c3.zip
new functions lua_rawsetp/lua_rawgetp
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index 349ef6ed..6e3ff629 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.278 2011/07/02 16:00:15 roberto Exp roberto $ 2** $Id: lua.h,v 1.279 2011/08/23 17:24:34 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
@@ -219,6 +219,7 @@ LUA_API void (lua_gettable) (lua_State *L, int idx);
219LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k); 219LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k);
220LUA_API void (lua_rawget) (lua_State *L, int idx); 220LUA_API void (lua_rawget) (lua_State *L, int idx);
221LUA_API void (lua_rawgeti) (lua_State *L, int idx, int n); 221LUA_API void (lua_rawgeti) (lua_State *L, int idx, int n);
222LUA_API void (lua_rawgetp) (lua_State *L, int idx, const void *p);
222LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec); 223LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec);
223LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); 224LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz);
224LUA_API int (lua_getmetatable) (lua_State *L, int objindex); 225LUA_API int (lua_getmetatable) (lua_State *L, int objindex);
@@ -232,6 +233,7 @@ LUA_API void (lua_settable) (lua_State *L, int idx);
232LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k); 233LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k);
233LUA_API void (lua_rawset) (lua_State *L, int idx); 234LUA_API void (lua_rawset) (lua_State *L, int idx);
234LUA_API void (lua_rawseti) (lua_State *L, int idx, int n); 235LUA_API void (lua_rawseti) (lua_State *L, int idx, int n);
236LUA_API void (lua_rawsetp) (lua_State *L, int idx, const void *p);
235LUA_API int (lua_setmetatable) (lua_State *L, int objindex); 237LUA_API int (lua_setmetatable) (lua_State *L, int objindex);
236LUA_API void (lua_setuservalue) (lua_State *L, int idx); 238LUA_API void (lua_setuservalue) (lua_State *L, int idx);
237 239