diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-11-10 16:05:36 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-11-10 16:05:36 -0200 |
commit | c97aa9485caf253eceebc00cf08cfa8b179fe35e (patch) | |
tree | b54254b30e4354f4fdad5264cfd4e7baa9e40ab5 /lauxlib.h | |
parent | e885b91326986f1b5a341e9ff1444c4f46c6241a (diff) | |
download | lua-c97aa9485caf253eceebc00cf08cfa8b179fe35e.tar.gz lua-c97aa9485caf253eceebc00cf08cfa8b179fe35e.tar.bz2 lua-c97aa9485caf253eceebc00cf08cfa8b179fe35e.zip |
new function 'luaL_setmetatable'
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.109 2010/10/25 20:31:11 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.110 2010/11/10 17:38:10 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -52,6 +52,7 @@ LUALIB_API void (luaL_checktype) (lua_State *L, int narg, int t); | |||
52 | LUALIB_API void (luaL_checkany) (lua_State *L, int narg); | 52 | LUALIB_API void (luaL_checkany) (lua_State *L, int narg); |
53 | 53 | ||
54 | LUALIB_API int (luaL_newmetatable) (lua_State *L, const char *tname); | 54 | LUALIB_API int (luaL_newmetatable) (lua_State *L, const char *tname); |
55 | LUALIB_API void (luaL_setmetatable) (lua_State *L, const char *tname); | ||
55 | LUALIB_API void *(luaL_testudata) (lua_State *L, int ud, const char *tname); | 56 | LUALIB_API void *(luaL_testudata) (lua_State *L, int ud, const char *tname); |
56 | LUALIB_API void *(luaL_checkudata) (lua_State *L, int ud, const char *tname); | 57 | LUALIB_API void *(luaL_checkudata) (lua_State *L, int ud, const char *tname); |
57 | 58 | ||