[Mono-list] Embeding Mono. Memory management

Alexander Smirnov smsrecv at ya.ru
Fri Nov 20 07:53:18 EST 2009


Hello 

I want to use mono embeding. 
But I don't quite understand how the memory management is done when using mono objects from C code. 
For example, there is mono_string_new() function which creates a mono string. This string belongs to mono - am I right? 
So how mono garbage collector knows when to delete the string? 
Or should I tell it to do that? But I didn't found any function to release mono objects from C, particulary MonoString objects. 


thanks in advance


More information about the Mono-list mailing list