[Mono-list] PInvoke Conventions
Rhys Weatherley
rweather@zip.com.au
Wed, 18 Jul 2001 15:06:12 +1000
"Jay Freeman (saurik)" wrote:
> Even easier than your SysInt marshalling it to just use the right data type
> to begin with. If you use the value type IntPtr the C# compiler is supposed
> to compile that as "native int" (which is a valid datatype at the CLR
Thanks for this. I'd forgotten about "IntPtr"/"native int".
> Once again, that still doesn't help you with longs or shorts.
Yep. I'd like something that works consistently across all types.
Cheers,
Rhys.