On Fri, 2008-02-15 at 15:18 +0100, Andreas Färber wrote:
> Am 15.02.2008 um 02:28 schrieb Daniel Morgan:
> 
> > I'm not sure the proper way to marshal a
> > size_t that will work on 32-bit and 64-bits systems.
> > Perhaps someone reading this can shed some light.
> 
> What about IntPtr?

Use UIntPtr, as size_t is unsigned.  The only places that would fail are
64-bit platforms that define size_t as a 32-bit value, which is *broken*
(and non-standard, iirc).

 - Jon


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to