i have mono code
public static unsafe int* mono_method (int* p)
{
//....
return p;
}
and want to call it from native c
MonoObject *result = mono_runtime_invoke(mono_method, NULL, args, NULL);
I tried out some different pointers, variables in the args flag (should be void**)
but always get SIGSEGV error when i execute the runtime invoke.
My question is: Is it possible to pass pointers from c to mono via runtime_invoke and how?
best regards.