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? :-)
Hi and thanks for these nice bindings. However I cannot get the examples to run:
The
lua_pushcfunction(L, lfunc')call errors out withWhen trying to provide the function as point using
&lfuncI getWhat am I doing wrong? :-)