WeaselGames / godot_luaAPI

Godot LuaAPI
https://luaapi.weaselgames.info
Other
361 stars 27 forks source link

RC1 Prep #131

Closed Trey2k closed 1 year ago

Trey2k commented 1 year ago

This pr ties up a couple of lose ends in prep for RC1. One major issue we had was LuaCallableCustom's only worked in module builds since GDExtension does not expose access to CallableCustom's. In this PR we worked around that by adding a call_function_ref method to LuaAPI. This method is not meant to be called directly, but rather when pulling a function from lua we binding its reference and return that Callable to the user. In which case the only argument would be the Array of args. This should bring the Module and GDExtensions API's to a 1:1 compatibility.

This PR also changes permissive default to true in order to stay closer to the functionality that existed before that change.

And finally there was also some small cleanup tasks that have been completed.