GC_UNLOAD build time define and replaced with flag to change it at runtime.

This commit is contained in:
jussi
2023-11-15 18:34:34 +02:00
parent 7b10306ed5
commit 841aa897f1
10 changed files with 80 additions and 81 deletions

View File

@@ -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)