about graphics and GUI

Sean Hinde <>
Tue Sep 19 11:27:16 CEST 2000


Dan,

> I generated stubs for all the functions into 5 files and 
> modified them by hand. For example every function that returns
> something (i.e. all glGet* functions) are handwritten, but even
> in these functions most of the work is generated and I had to
> handle pointers, allocate memory for arrays and such.

So part of this program was a preprocessor and parser for the C header
files? I don't quite yet see that it is that easy to derive all the meaning
required from a C header like this one:

> For example this declaration in gl.h
> GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green,
> 			 GLboolean blue, GLboolean alpha  );

It would be fascinating to see at least part of your program if you are able
and happy to release it (or release something similar). Even though as you
say it is nothing like complete it could still give some of us a clue in the
right direction.

Thanks very much,
Sean




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





More information about the erlang-questions mailing list