aboutsummaryrefslogtreecommitdiff
path: root/manual
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 /manual
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 'manual')
-rw-r--r--manual/manual.of14
1 files changed, 0 insertions, 14 deletions
diff --git a/manual/manual.of b/manual/manual.of
index d8bac5da..91ba8c46 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -5535,20 +5535,6 @@ Leaves a copy of the module on the stack.
5535 5535
5536} 5536}
5537 5537
5538@APIEntry{int luaL_resourcetryagain (lua_State *L);|
5539@apii{0,0,m}
5540
5541Try to release resources in case of errors.
5542This function uses @id{errno} to check whether the last error was
5543related to lack of resources (e.g., not enough memory or too many
5544open files).
5545If so, the function performs a full garbage collection
5546to try to release resources, and then it returns 1 to signal to
5547the caller that it is worth trying again the failed operation.
5548Otherwise, it returns 0.
5549
5550}
5551
5552@APIEntry{void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);| 5538@APIEntry{void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);|
5553@apii{nup,0,m} 5539@apii{nup,0,m}
5554 5540