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

Marcus mathpup at mylinuxisp.com
Sat May 24 02:20:17 EDT 2003


Naw. I just do not use the default, brain-dead marshaling if it attempts to
free memory that that it has no business freeing.

On Friday 23 May 2003 8:53 pm, you wrote:
> In that case you have to write wrappers that copy the returned buffer to
> some memory that can be freed, either in C/C++ code using memory form
> malloc or in C# code using memory from the gc heap.



More information about the Mono-devel-list mailing list