aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-05-01 15:21:32 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-05-01 15:21:32 -0300
commit4fe11ae232e37045feaaf08d72a5414fca463c1c (patch)
tree1bf874a3d69e296effa2a41b488f2644238d8277 /lua.h
parentc549d4fe64c48ab645740e6d12c69c91250fad3d (diff)
downloadlua-4fe11ae232e37045feaaf08d72a5414fca463c1c.tar.gz
lua-4fe11ae232e37045feaaf08d72a5414fca463c1c.tar.bz2
lua-4fe11ae232e37045feaaf08d72a5414fca463c1c.zip
'lua_getuservalue' returns type of user value
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index 7705421e..bef5ff29 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.302 2014/03/20 19:42:35 roberto Exp roberto $ 2** $Id: lua.h,v 1.303 2014/05/01 18:18:06 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
@@ -238,7 +238,7 @@ LUA_API int (lua_rawgetp) (lua_State *L, int idx, const void *p);
238LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec); 238LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec);
239LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz); 239LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz);
240LUA_API int (lua_getmetatable) (lua_State *L, int objindex); 240LUA_API int (lua_getmetatable) (lua_State *L, int objindex);
241LUA_API void (lua_getuservalue) (lua_State *L, int idx); 241LUA_API int (lua_getuservalue) (lua_State *L, int idx);
242 242
243 243
244/* 244/*