[Mono-devel-list] reading char * from extern function

Miguel de Icaza miguel at ximian.com
Sat May 24 10:22:26 EDT 2003


Hello,

> There is also a question about whether it is legal to mix malloc/free with the 
> glib equivalents. (Last I asked, I could not get a definite answer.)

In theory, you should not mix g_malloc/free;  malloc/g_free;  But with
Glib 2, it is possible to force g_malloc/g_free to always be
malloc/free, so this issue could be ignored (it is also the default).

Miguel



More information about the Mono-devel-list mailing list