On 03/01/05 Nigel Benns wrote:
> I understand after looking into it a little more, and the wrapper code is
> so easy to do...
> 
> Half the point of .Net is the portability, so mangling some code and
> making it platform specific defeats the purpose AFAIC.

Yes, wrapper code should be avoided whenever possible.
In most cases there is no need to use it. In other cases
doing runtime checks is possible (depending on the operating system
and the size of IntPtr can let you select the correct codepath).
Both approaches are preferable to wrapper functions.

lupus

-- 
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to