From 880653d31a8f1ff8384fdbc75b84934bceecfdb8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 18 Nov 2000 06:43:49 +0000 Subject: Initial revision --- CNativeCode/OpenGL_funcs.c.skel | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 CNativeCode/OpenGL_funcs.c.skel (limited to 'CNativeCode/OpenGL_funcs.c.skel') diff --git a/CNativeCode/OpenGL_funcs.c.skel b/CNativeCode/OpenGL_funcs.c.skel new file mode 100644 index 0000000..000af1a --- /dev/null +++ b/CNativeCode/OpenGL_funcs.c.skel @@ -0,0 +1,44 @@ +/* + * Leo Chan -- 1995 + * lchan@cgl.uwaterloo.ca + * + * This mammoth C file takes care of all the native implementation for the + * bulk of OpenGL commands + * --------------- + * + * Sven Goethel + * + * September 1997 + */ + +/* + * need to include the JAVA internal header files for macros and function + * prototypes required to maipulated JAVA data structures and functions + * + * StubPreamble.h includes the structure and macro definitions neede to + * convert JAVA data structures into C data structures. + * + */ + +#include "OpenGL_misc.h" + +/* + * the next thing to include are special headers that were created by + * JAVAH. They include the C structure definitions for the JAVA classes + */ +#include "gl4java_GLFuncJauJNI.h" + +/*-------------------------------------------------------------------------- + * here on in is just regular apple pie C + */ + +#ifndef LIBAPIENTRY + #define LIBAPIENTRY +#endif +#ifndef LIBAPI + #define LIBAPI +#endif + +#ifndef CALLBACK + #define CALLBACK +#endif -- cgit v1.2.3