godot-lua-pluginscript
godot-lua-pluginscript copied to clipboard
Script instance as struct
This PR changes script and script instances to be structs, to maintain a more consistent behavior regarding the call of property getters and setters in __index and __newindex metamethods (#5).
To bypass getters and setters, use rawget and rawset.
It also:
- Adds mapping for
Serverplatform, using thelinux_x86_64build. This is necessary to run the automated tests in CI. - Adds debugger.lua submodule to trigger breakpoints when automated tests fail
- Fixes
Array/Pool*Array__eqmetamethod to not raise when comparing against primitive Lua values - Fixes support
falseas a default value for properties - Changes
Object.callto raise in case of errors, instead of failing silently. UseObject.pcallto protect calls instead.