Thomas Wiest wrote:
Robert Jordan wrote:
You don't need HandleRefs when using icalls and the embedded API.
Just declare the icalls as non-static and they will automatically
get the MonoObject* pointer of the managed object:
Ah, very interesting. I assume this increases the ref count which
Thomas Wiest wrote:
Hey,
I'm using the Mono embedding API and I'm using HandleRef's instead
of IntPtr's (as per the instructions on the interop page).
http://www.mono-project.com/Interop_with_Native_Libraries
However, the HandleRef's seem to only be marshaled to IntPtr's if
Robert Jordan wrote:
You don't need HandleRefs when using icalls and the embedded API.
Just declare the icalls as non-static and they will automatically
get the MonoObject* pointer of the managed object:
Ah, very interesting. I assume this increases the ref count which
assures that the