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/OpenGLU_funcs.c.skel | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 CNativeCode/OpenGLU_funcs.c.skel (limited to 'CNativeCode/OpenGLU_funcs.c.skel') diff --git a/CNativeCode/OpenGLU_funcs.c.skel b/CNativeCode/OpenGLU_funcs.c.skel new file mode 100644 index 0000000..81cfda7 --- /dev/null +++ b/CNativeCode/OpenGLU_funcs.c.skel @@ -0,0 +1,55 @@ +/* + * Leo Chan -- 1995 + * + * This C file takes care of all the native implementation for the + * OpenGL utility 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. + * + */ + +#ifdef _WIN32_ + #include "winstuff.h" +#endif + +#include +#include + +#include + +/* + * 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_GLUFuncJauJNI.h" + +/*-------------------------------------------------------------------------- + * here on in is just regular apple pie C + */ + +/* + * next put any specific header files that are necessary to implement + * this native code + */ +#include +#include + +#include "GLCallbackHelperJNI.h" +#include "GLUCallbackJNI.h" +#include "jnitools.h" + +/** + * herein lies the native JAVA methods for the OpenGL functions. + */ + -- cgit v1.2.3