[Mono-list] System.Data.OracleClient on z/Linux
Jonathan Pryor
jonpryor at vt.edu
Fri Feb 15 09:56:28 EST 2008
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
More information about the Mono-list
mailing list