aboutsummaryrefslogtreecommitdiffstats
path: root/make/jawt-macosx.cfg
blob: a4495801cd868c648b2f1077db59c0a66ec220e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This .cfg file is used to generate the interface to the JAWT, which
# is used by the MacOSXOnscreenGLContext.
Style AllStatic
Package com.sun.opengl.impl.jawt
JavaClass JAWTFactory
JavaOutputDir gensrc/classes
NativeOutputDir gensrc/native/jogl/MacOSX

HierarchicalNativeOutput false

Opaque boolean jboolean
Opaque long void *
Opaque long NSView *

IgnoreField JAWT GetComponent
IgnoreField JAWT_DrawingSurfaceInfo      platformInfo

IncludeAs CustomJavaCode JAWT jawt-CustomJavaCode.java

CustomCCode #include <inttypes.h>
CustomCCode #include <jawt.h>
CustomCCode #include </usr/include/machine/types.h>

import java.security.*
import com.sun.opengl.impl.jawt.*
StructPackage JAWT_MacOSXDrawingSurfaceInfo com.sun.opengl.impl.jawt.macosx
EmitStruct JAWT_MacOSXDrawingSurfaceInfo
Implements JAWT_MacOSXDrawingSurfaceInfo JAWT_PlatformInfo

IncludeAs CustomJavaCode JAWT_DrawingSurfaceInfo jawt-DrawingSurfaceInfo-CustomJavaCode.java