L
lallous
Hello
I am wrapping a C DLL into C# project.
Being a newbie in C#, I wonder how one can map the following:
struct X
{
char *str[];
int count;
};
and the following callback:
typedef void (__stdcall *cb)(int a, int b, char *s[]);
Which is used as a param in another C function to be mapped:
void register_cb(char *description, cb c);
Thanks,
Elias
I am wrapping a C DLL into C# project.
Being a newbie in C#, I wonder how one can map the following:
struct X
{
char *str[];
int count;
};
and the following callback:
typedef void (__stdcall *cb)(int a, int b, char *s[]);
Which is used as a param in another C function to be mapped:
void register_cb(char *description, cb c);
Thanks,
Elias