new `luaL_weakregistry' function

This commit is contained in:
Roberto Ierusalimschy
2002-06-25 16:15:21 -03:00
parent fdfd5b44ee
commit 89b102bd1d
2 changed files with 24 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lauxlib.h,v 1.48 2002/06/03 20:11:41 roberto Exp roberto $
** $Id: lauxlib.h,v 1.49 2002/06/18 15:19:27 roberto Exp roberto $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
@@ -49,6 +49,8 @@ LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...);
LUALIB_API int luaL_findstring (const char *name,
const char *const list[]);
LUALIB_API void luaL_weakregistry (lua_State *L);
LUALIB_API int luaL_ref (lua_State *L, int t);
LUALIB_API void luaL_unref (lua_State *L, int t, int ref);