Closed Meigyoku-Thmn closed 1 year ago
No, Lua has multiple return values. if a .net function uses ref parameters, they will be mapped to a result value.
void Test(ref int a);
local r = Test(1);
Thanks, guess I have to use DynamicMethod as a wrapper for this functionality.
Does NeoLua support Passing by reference like in C#? I mean:
Can this function be implemented in NeoLua, for example:
The motivation is that I want to use NeoLua with the Harmony library for game modding.