aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-10-31 16:25:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-10-31 16:25:29 -0300
commit2fc6b55dae7a120b4272ca0e9c356d1f96053bd9 (patch)
tree073360734518f75a4f5621d87a4b47bc4642452a /lauxlib.h
parent947a372f5860a76fcafb4a2845abc322e440d6fc (diff)
downloadlua-2fc6b55dae7a120b4272ca0e9c356d1f96053bd9.tar.gz
lua-2fc6b55dae7a120b4272ca0e9c356d1f96053bd9.tar.bz2
lua-2fc6b55dae7a120b4272ca0e9c356d1f96053bd9.zip
Removed resource-related "emergency collections"
New to-be-closed variables is a better way to ensure the proper release of resources.
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lauxlib.h b/lauxlib.h
index cd4d01e5..9ec0f531 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -77,8 +77,6 @@ LUALIB_API int (luaL_checkoption) (lua_State *L, int arg, const char *def,
77LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname); 77LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname);
78LUALIB_API int (luaL_execresult) (lua_State *L, int stat); 78LUALIB_API int (luaL_execresult) (lua_State *L, int stat);
79 79
80LUALIB_API int (luaL_resourcetryagain) (lua_State *L);
81
82 80
83/* predefined references */ 81/* predefined references */
84#define LUA_NOREF (-2) 82#define LUA_NOREF (-2)