I'm using the Factor 0.89 OpenGL library and wish to call glut functions 
from Factor in order run redbook examples. I created a factor file with 
the following code for a start:

IN: glut
USING: kernel alien ;

LIBRARY: glut

FUNCTION: void glutInit( int *argcp, char **argv ) ;

I then loaded the file so the binding word is compiled. How do I create 
the argcp and argv parameters to pass to the function? The documentation 
states
that glutInit may modify these parameters by extracting glut specific 
command line flags. I am not sure how to create the int* char** 
parameters in Factor.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to