summaryrefslogtreecommitdiffstats
path: root/make/jawt-macosx.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/jawt-macosx.cfg')
-rw-r--r--make/jawt-macosx.cfg18
1 files changed, 15 insertions, 3 deletions
diff --git a/make/jawt-macosx.cfg b/make/jawt-macosx.cfg
index 809b02b16..6c6f849a9 100644
--- a/make/jawt-macosx.cfg
+++ b/make/jawt-macosx.cfg
@@ -1,15 +1,27 @@
# This .cfg file is used to generate the interface to the JAWT, which
-# is used by the X11OnscreenGLContext.
+# is used by the MacOSXOnscreenGLContext.
Style AllStatic
Package net.java.games.jogl.impl
JavaClass JAWTFactory
JavaOutputDir ../build/gensrc/classes
NativeOutputDir ../build/gensrc/native/jogl
+
HierarchicalNativeOutput false
-Opaque int JNIEnv *
+
Opaque boolean jboolean
+Opaque long CGContextRef
+Opaque long void *
+
+IgnoreField JAWT GetComponent
+IgnoreField JAWT_DrawingSurfaceInfo platformInfo
+
+CustomCCode #include <inttypes.h>
CustomCCode #include <jawt.h>
+
StructPackage JAWT_MacOSXDrawingSurfaceInfo net.java.games.jogl.impl.macosx
-IgnoreField JAWT GetComponent
EmitStruct JAWT_MacOSXDrawingSurfaceInfo
+CustomJavaCode JAWT_DrawingSurfaceInfo public JAWT_PlatformInfo platformInfo() {
+CustomJavaCode JAWT_DrawingSurfaceInfo return platformInfo0(getBuffer());
+CustomJavaCode JAWT_DrawingSurfaceInfo }
+CustomJavaCode JAWT_DrawingSurfaceInfo private native JAWT_PlatformInfo platformInfo0(Buffer jthis0);