Removed resource-related "emergency collections"

New to-be-closed variables is a better way to ensure the proper release
of resources.
This commit is contained in:
Roberto Ierusalimschy
2018-10-31 16:25:29 -03:00
parent 947a372f58
commit 2fc6b55dae
5 changed files with 2 additions and 80 deletions

View File

@@ -77,8 +77,6 @@ LUALIB_API int (luaL_checkoption) (lua_State *L, int arg, const char *def,
LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname);
LUALIB_API int (luaL_execresult) (lua_State *L, int stat);
LUALIB_API int (luaL_resourcetryagain) (lua_State *L);
/* predefined references */
#define LUA_NOREF (-2)