Lua.NET
Lua.NET copied to clipboard
Cannot get your examples to run
Hi and thanks for these nice bindings. However I cannot get the examples to run:
The lua_pushcfunction(L, lfunc') call errors out with
'int pobnet.Test1.lfunc(lua_State)' is attributed with 'UnmanagedCallersOnly' and cannot be converted into a delegate type. Obtain a function pointer to this method.
When trying to provide the function as point using &lfunc I get
Argument type 'method group address' is not assignable to parameter type 'LuaNET.LuaJIT.Lua.lua_CFunction?'
What am I doing wrong? :-)