Re: eXene and openGL

Vesa Karvonen <vesa.karvonen-bbCR+/[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
Quoting John Reppy <[email protected]>:
> My understanding from talking to Matthew Fluet is that nlffi on mlton  
> does not support C structs.

>From http://mlton.org/MLNLFFI:

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

However, *pointers* to structs or unions do work and it is
relatively rare for a C function to take struct or union
arguments.  (I don't know whether SDL does.)

If SDL functions do take (non-pointer) struct/union
arguments, then you could perhaps create trivial C stubs
that take pointers to structs/unions.

-Vesa Karvonen

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.