[MLton-user] nlffi struct or union arguments

brian briand@aracnet.com
Mon, 12 Jun 2006 21:26:35 -0700


 From the web page:

MLton's mlnlffigen does not currently support C functions with struct  
or union arguments.

I'm making the assumption that this means it _will_ support pointers  
to structs or unions.

It's been so long since I used C, I can't remember that you could  
actually do something like :

struct {
...
} foo;

func(foo);

instead of

func (&foo);

So annoying function calls which used structs/unions directly could  
simply be recoded with pointers... ?

Brian