diff options
author | Sven Gothel <[email protected]> | 2001-02-13 05:32:07 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2001-02-13 05:32:07 +0000 |
commit | 3e2b16a820bfe03f8f3837c3aaa615c8c4b7f18c (patch) | |
tree | d834a05eb37751b4c95045c3021589f2e22fcd9f /CNativeCode/OpenGL_misc.h | |
parent | 91bc9d109b2d16e6d42f1fbcc9d3dbca51c40b69 (diff) |
JAWT Support JDK >=1.3
Diffstat (limited to 'CNativeCode/OpenGL_misc.h')
-rw-r--r-- | CNativeCode/OpenGL_misc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CNativeCode/OpenGL_misc.h b/CNativeCode/OpenGL_misc.h index 2312d8c..368e2f7 100644 --- a/CNativeCode/OpenGL_misc.h +++ b/CNativeCode/OpenGL_misc.h @@ -22,6 +22,19 @@ #define LIBAPI #endif + #ifndef USE_64BIT_POINTER + typedef int PointerHolder; + #else + typedef long PointerHolder; + #endif + + /* testJavaGLTypes does important implementation plattformspecific checks: + * + * o do fit the JNI <-> GL Variables-Type Mapping + * o IF ERROR OR VERBOSE -> DUMP JNI,GL Type-Length + */ + LIBAPI jboolean LIBAPIENTRY testJavaGLTypes(jboolean verbose); + LIBAPI void * LIBAPIENTRY getGLProcAddressHelper (const char * func, int * method, int debug, int verbose ); |