I have a DLL with a function defined as follows:
int my_func(const char* input, char* output, int outputSize);
Is it correct the following definition in LuaRT?
local mylib= c.Library('mylib.dll')
mylib.my_func= "c(ZZi)i"
How can I pass arguments, in particular the second one that is a char buffer to be filled by the DLL?
Thanks in advance