diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-25 16:15:21 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-25 16:15:21 -0300 |
| commit | 89b102bd1d967656daeb337bf59ad6abeddeb613 (patch) | |
| tree | c172e696ddb80d4a1c2852a3d6f70f8f85794a71 /lauxlib.h | |
| parent | fdfd5b44ee48a5497181d0bcaa89586b12a48eb4 (diff) | |
| download | lua-89b102bd1d967656daeb337bf59ad6abeddeb613.tar.gz lua-89b102bd1d967656daeb337bf59ad6abeddeb613.tar.bz2 lua-89b102bd1d967656daeb337bf59ad6abeddeb613.zip | |
new `luaL_weakregistry' function
Diffstat (limited to 'lauxlib.h')
| -rw-r--r-- | lauxlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.h,v 1.48 2002/06/03 20:11:41 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.49 2002/06/18 15:19:27 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 | */ |
| @@ -49,6 +49,8 @@ LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...); | |||
| 49 | LUALIB_API int luaL_findstring (const char *name, | 49 | LUALIB_API int luaL_findstring (const char *name, |
| 50 | const char *const list[]); | 50 | const char *const list[]); |
| 51 | 51 | ||
| 52 | LUALIB_API void luaL_weakregistry (lua_State *L); | ||
| 53 | |||
| 52 | LUALIB_API int luaL_ref (lua_State *L, int t); | 54 | LUALIB_API int luaL_ref (lua_State *L, int t); |
| 53 | LUALIB_API void luaL_unref (lua_State *L, int t, int ref); | 55 | LUALIB_API void luaL_unref (lua_State *L, int t, int ref); |
| 54 | 56 | ||
