[Mono-dev] [PATCH] StringToHGlobalAnsi and Uni
billholmes54 at gmail.com
Tue Sep 2 17:20:29 EDT 2008
The following patch was created from the 2.0 branch. I would like to
commit it to the branch as well as the trunk.
Basically on Windows we need to allocate the memory using GlobalAlloc
for these calls.
I have plans to revisit
to avoid allocating memory twice. Similar to what was attempted in
mono_string_new in object.c. To do this we need to implement some
more e-glib methods so we have to live with the double alloc for 2.0.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1220 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080902/5e159b0e/attachment.obj
More information about the Mono-devel-list