From 841aa897f1868075134162cc71593ac9c3473115 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 15 Nov 2023 18:34:34 +0200 Subject: GC_UNLOAD build time define and replaced with flag to change it at runtime. --- ReiLua_API.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 67ace3f..f1ffa0b 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -1680,6 +1680,11 @@ function RL.OpenURL( url ) end ---@return any enabled function RL.IsGCUnloadEnabled() end +---Set Lua garbage collection to unload object data +---@param enabled boolean +---@return any RL.SetGCUnload +function RL.SetGCUnload( enabled ) end + -- Core - Files management functions ---Return game directory (where main.lua is located) -- cgit v1.2.3