diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-09-16 16:49:45 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-09-16 16:49:45 -0300 |
commit | 32a5d96dfc846ccfe63e6272d385fe963e025b61 (patch) | |
tree | a8db9f8300dca5f951f475d7cad8619460141d07 /lauxlib.h | |
parent | 8dae071f42bf036ea3f61468aca825397c8e33e4 (diff) | |
download | lua-32a5d96dfc846ccfe63e6272d385fe963e025b61.tar.gz lua-32a5d96dfc846ccfe63e6272d385fe963e025b61.tar.bz2 lua-32a5d96dfc846ccfe63e6272d385fe963e025b61.zip |
`setmetatable' cannot change protected objects
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.52 2002/08/08 20:08:41 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.53 2002/08/30 20:00:59 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 | */ |
@@ -30,6 +30,7 @@ typedef struct luaL_reg { | |||
30 | LUALIB_API void luaL_openlib (lua_State *L, const luaL_reg *l, int nup); | 30 | LUALIB_API void luaL_openlib (lua_State *L, const luaL_reg *l, int nup); |
31 | LUALIB_API void luaL_opennamedlib (lua_State *L, const char *libname, | 31 | LUALIB_API void luaL_opennamedlib (lua_State *L, const char *libname, |
32 | const luaL_reg *l, int nup); | 32 | const luaL_reg *l, int nup); |
33 | LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *e); | ||
33 | LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *e); | 34 | LUALIB_API int luaL_callmeta (lua_State *L, int obj, const char *e); |
34 | LUALIB_API int luaL_typerror (lua_State *L, int narg, const char *tname); | 35 | LUALIB_API int luaL_typerror (lua_State *L, int narg, const char *tname); |
35 | LUALIB_API int luaL_argerror (lua_State *L, int numarg, const char *extramsg); | 36 | LUALIB_API int luaL_argerror (lua_State *L, int numarg, const char *extramsg); |