[Mono-dev] when to call mono_thread_attach

Robert Jordan robertj at gmx.net
Fri Apr 15 13:56:17 EDT 2011


On 15.04.2011 17:19, Ng, Victor wrote:
>>> Also, how do I know what objects I have to call mono_free on?  I
>>> can't seem to find a good reference on that topic.
>
>> This is usually well-documented.
>
> Where can I find this documentation?  So far, I only now about
> mono_string_new from the embedding webpage.

mono_string_new's results must not be freed. You're
probably meaning the mono_string_to_utfx() functions.

API docs: http://go-mono.org/docs/index.aspx?link=root:/embed

Robert



More information about the Mono-devel-list mailing list