aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/x11/X11/X.h
diff options
context:
space:
mode:
authordjp <[email protected]>2003-06-08 19:27:01 +0000
committerdjp <[email protected]>2003-06-08 19:27:01 +0000
commitd49fd968963909f181423eae46c613189468fac3 (patch)
treeb231329e6b65fd54aa24b3bcc0a3ecc623daec61 /make/stub_includes/x11/X11/X.h
parent9c8fb046dee5d832bea3f36dcbd43285054f49a0 (diff)
Initial revision
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@3 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/stub_includes/x11/X11/X.h')
-rw-r--r--make/stub_includes/x11/X11/X.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/make/stub_includes/x11/X11/X.h b/make/stub_includes/x11/X11/X.h
new file mode 100644
index 000000000..8aa8500cb
--- /dev/null
+++ b/make/stub_includes/x11/X11/X.h
@@ -0,0 +1,34 @@
+#ifndef _X_H_
+#define _X_H_
+
+typedef unsigned long XID;
+typedef int Bool;
+typedef struct {} Display;
+typedef int Status;
+typedef struct {} Visual;
+typedef unsigned long VisualID;
+typedef XID Colormap;
+typedef XID Cursor;
+typedef XID Drawable;
+typedef XID GContext;
+typedef XID KeySym;
+typedef XID Pixmap;
+typedef XID Window;
+
+typedef struct __GLXcontextRec *GLXContext;
+//typedef void *GLXContext;
+typedef XID GLXPixmap;
+typedef XID GLXDrawable;
+/* GLX 1.3 and later */
+typedef struct __GLXFBConfigRec *GLXFBConfig;
+//typedef void *GLXFBConfig;
+typedef XID GLXFBConfigID;
+typedef XID GLXContextID;
+typedef XID GLXWindow;
+typedef XID GLXPbuffer;
+
+// Hacks for glXGetProcAddress
+typedef void (*__GLXextFuncPtr)(void);
+typedef unsigned char GLubyte; /* 1-byte unsigned */
+
+#endif /* defined _X_H_ */