[Mono-list] PInvoke:TNG

Fergus Henderson fjh@cs.mu.oz.au
Thu, 26 Jul 2001 19:07:21 +1000


On 26-Jul-2001, Rhys Weatherley <rweather@zip.com.au> wrote:
> I think this should solve most of the nasty cases in mapping to
> and from Posix types.  Thoughts?

The syntax is quite elegant, but you're pushing a lot of the complexity into
the VM engine.

How exactly is the VM engine supposed to handle the [PosixType] custom attribute?
Is it supposed to have a hard-coded list of types and their layouts,
and to report an error if the type name doesn't match one of the types in
its hard-coded list?

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.