Open Dismalitie opened 2 weeks ago
Hey, I was wondering if this supports nullable values in functions (string?, int? etc...) because when calling an empty function from Lua:
string?
int?
w.create()
it throws:
bad argument #1 to 'create' (value expected)
This is the C# function:
[LuaMember("create")] public static void Create(string? title, int? width = 700, int? height = 400) { f = new Form() { Text = title == null ? "gluaWindow" : title, Width = width == null ? 700 : (int)width, Height = height == null ? 400 : (int)height, }; }
I don't know if this has to do with issue #50 or whether Lua and / or this library doesn't support nullables.
Hey, I was wondering if this supports nullable values in functions (
string?
,int?
etc...) because when calling an empty function from Lua:it throws:
This is the C# function:
I don't know if this has to do with issue #50 or whether Lua and / or this library doesn't support nullables.