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