WeaselGames / godot_luaAPI

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

Remove expose_constructor #148

Closed Trey2k closed 1 year ago

Trey2k commented 1 year ago

Now that our memory management is streamlined there is no need to treat objects made by lua any different making expose_constructor obsolete. Instead you can either return or push obj.new as a global. This also allows for constructor args.