From: Pepijn V. E. <pep...@lu...> - 2002-02-04 07:59:42
|
I checked those scripts, but the only thing they do is filter out the lines containing GL[U]API and replace some strings. I ran the prepare script again myself and glGetString is still in gl-proto-auto.orig. However in gl-proto-auto.orig.h there's no sign of glGetString. So my guess is you have to manually remove the functions that shouldn't be autogenerated... Can anyone confirm this? If it's so, I'll write a small script that reads a file containing the functions to be removed and removes these automatically from the .orig file. Pepijn Van Eeckhoudt Kenneth B. Russell wrote: >>I tried adding my implementations to the manual files. But, as I >>expected, the generated file contained .c file contained two >>implementations of the same mehtod. In the makefile, the manual and auto >>generated files get pasted together using cat which explains the double >>implementation. >>I can't find anything that suggests glGetString gets a special treatment >>in the C2J code. >>Any ideas? >> > > In the directory Gl4Java/C2J/mesa40-header there are several > scripts which prepare the Mesa header files for processing with > C2J. However, it isn't apparent to me how the .h files get > generated (automatically or whether there is manual processing of > e.g. gl-proto-auto.orig). Note that the prototype for glGetString > is missing from gl-proto-auto-orig.h. > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup > > |