harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r440748 [19/25] - in /incubator/harmony/enhanced/classlib/trunk/modules: accessibility/src/main/java/javax/accessibility/ awt/ awt/make/ awt/src/main/java/common/java/awt/ awt/src/main/java/common/java/awt/datatransfer/ awt/src/main/java/co...
Date Wed, 06 Sep 2006 16:06:30 GMT
Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/linux/org_apache_harmony_awt_nativebridge_linux_X11.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/linux/org_apache_harmony_awt_nativebridge_linux_X11.cpp?view=diff&rev=440748&r1=440747&r2=440748
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/linux/org_apache_harmony_awt_nativebridge_linux_X11.cpp (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/x11wrapper/linux/org_apache_harmony_awt_nativebridge_linux_X11.cpp Wed Sep  6 09:06:15 2006
@@ -18,16 +18,17 @@
  * @version $Revision$
  */
 
-
-/* DO NOT EDIT THIS FILE - it is machine generated */
+/* DO NOT EDIT THIS FILE - it is based on X11 headers and was autogenerated by nativebridge tool */
 
 #include "org_apache_harmony_awt_nativebridge_linux_X11.h"
 #include "org_apache_harmony_awt_nativebridge_linux_ErrorHandler.h"
 
 static libHandler libX11;
+static libHandler libXmu;
 static libHandler libXtst;
 JNIEXPORT void JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_init (JNIEnv * env, jclass cls) {
     LOAD_LIB(libX11, X11);
+    LOAD_LIB(libXmu, Xmu);
     LOAD_LIB(libXtst, Xtst);
     XInitThreads();
     XSetErrorHandler(errorHandler);
@@ -55,1047 +56,1083 @@
     return (jint)((int ( *) (void *)) fnptr1234)((void *) extension);
 }
 
-void * (* pXGetSubImage) (void *, long, int, int, int, int, long, int, void *, int, int) = NULL;
+void * (* p_nbridge_XGetSubImage) (void *, long, int, int, int, int, long, int, void *, int, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetSubImage( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jint param_4, jint param_5, jlong param_6, jint param_7, jlong param_8, jint param_9, jint param_10) {
-    if (pXGetSubImage == NULL) {
-        pXGetSubImage = (void * (*) (void *, long, int, int, int, int, long, int, void *, int, int)) FindFunction(libX11, "XGetSubImage");
+    if (p_nbridge_XGetSubImage == NULL) {
+        p_nbridge_XGetSubImage = (void * (*) (void *, long, int, int, int, int, long, int, void *, int, int)) FindFunction(libX11, "XGetSubImage");
     }
-    return (jlong) (* pXGetSubImage)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (long) param_6, (int) param_7, (void *) param_8, (int) param_9, (int) param_10);
+    return (jlong) (* p_nbridge_XGetSubImage)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (long) param_6, (int) param_7, (void *) param_8, (int) param_9, (int) param_10);
 }
 
-int (* pXAllocColor) (void *, long, void *) = NULL;
+int (* p_nbridge_XAllocColor) (void *, long, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XAllocColor( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXAllocColor == NULL) {
-        pXAllocColor = (int (*) (void *, long, void *)) FindFunction(libX11, "XAllocColor");
+    if (p_nbridge_XAllocColor == NULL) {
+        p_nbridge_XAllocColor = (int (*) (void *, long, void *)) FindFunction(libX11, "XAllocColor");
     }
-    return (jint) (* pXAllocColor)((void *) param_0, (long) param_1, (void *) param_2);
+    return (jint) (* p_nbridge_XAllocColor)((void *) param_0, (long) param_1, (void *) param_2);
 }
 
-int (* pXLookupString) (void *, void *, int, void *, void *) = NULL;
+int (* p_nbridge_XLookupString) (void *, void *, int, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XLookupString( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jlong param_3, jlong param_4) {
-    if (pXLookupString == NULL) {
-        pXLookupString = (int (*) (void *, void *, int, void *, void *)) FindFunction(libX11, "XLookupString");
+    if (p_nbridge_XLookupString == NULL) {
+        p_nbridge_XLookupString = (int (*) (void *, void *, int, void *, void *)) FindFunction(libX11, "XLookupString");
     }
-    return (jint) (* pXLookupString)((void *) param_0, (void *) param_1, (int) param_2, (void *) param_3, (void *) param_4);
+    return (jint) (* p_nbridge_XLookupString)((void *) param_0, (void *) param_1, (int) param_2, (void *) param_3, (void *) param_4);
 }
 
-int (* pXGetWMNormalHints) (void *, long, void *, void *) = NULL;
+int (* p_nbridge_XGetWMNormalHints) (void *, long, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetWMNormalHints( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3) {
-    if (pXGetWMNormalHints == NULL) {
-        pXGetWMNormalHints = (int (*) (void *, long, void *, void *)) FindFunction(libX11, "XGetWMNormalHints");
+    if (p_nbridge_XGetWMNormalHints == NULL) {
+        p_nbridge_XGetWMNormalHints = (int (*) (void *, long, void *, void *)) FindFunction(libX11, "XGetWMNormalHints");
     }
-    return (jint) (* pXGetWMNormalHints)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3);
+    return (jint) (* p_nbridge_XGetWMNormalHints)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3);
 }
 
-long (* pXCreatePixmapCursor) (void *, long, long, void *, void *, int, int) = NULL;
+unsigned long  (* p_nbridge_XCreatePixmapCursor) (void *, long, long, void *, void *, int, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCreatePixmapCursor( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4, jint param_5, jint param_6) {
-    if (pXCreatePixmapCursor == NULL) {
-        pXCreatePixmapCursor = (long (*) (void *, long, long, void *, void *, int, int)) FindFunction(libX11, "XCreatePixmapCursor");
+    if (p_nbridge_XCreatePixmapCursor == NULL) {
+        p_nbridge_XCreatePixmapCursor = (unsigned long  (*) (void *, long, long, void *, void *, int, int)) FindFunction(libX11, "XCreatePixmapCursor");
     }
-    return (jlong) (* pXCreatePixmapCursor)((void *) param_0, (long) param_1, (long) param_2, (void *) param_3, (void *) param_4, (int) param_5, (int) param_6);
+    return (jlong) (* p_nbridge_XCreatePixmapCursor)((void *) param_0, (long) param_1, (long) param_2, (void *) param_3, (void *) param_4, (int) param_5, (int) param_6);
 }
 
-int (* pXSetInputFocus) (void *, long, int, long) = NULL;
+int (* p_nbridge_XSetInputFocus) (void *, long, int, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetInputFocus( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jlong param_3) {
-    if (pXSetInputFocus == NULL) {
-        pXSetInputFocus = (int (*) (void *, long, int, long)) FindFunction(libX11, "XSetInputFocus");
+    if (p_nbridge_XSetInputFocus == NULL) {
+        p_nbridge_XSetInputFocus = (int (*) (void *, long, int, long)) FindFunction(libX11, "XSetInputFocus");
     }
-    return (jint) (* pXSetInputFocus)((void *) param_0, (long) param_1, (int) param_2, (long) param_3);
+    return (jint) (* p_nbridge_XSetInputFocus)((void *) param_0, (long) param_1, (int) param_2, (long) param_3);
 }
 
-void * (* pXOpenDisplay) (void *) = NULL;
+void * (* p_nbridge_XOpenDisplay) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XOpenDisplay( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXOpenDisplay == NULL) {
-        pXOpenDisplay = (void * (*) (void *)) FindFunction(libX11, "XOpenDisplay");
+    if (p_nbridge_XOpenDisplay == NULL) {
+        p_nbridge_XOpenDisplay = (void * (*) (void *)) FindFunction(libX11, "XOpenDisplay");
     }
-    return (jlong) (* pXOpenDisplay)((void *) param_0);
+    return (jlong) (* p_nbridge_XOpenDisplay)((void *) param_0);
 }
 
-int (* pXGrabServer) (void *) = NULL;
+int (* p_nbridge_XGrabServer) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGrabServer( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXGrabServer == NULL) {
-        pXGrabServer = (int (*) (void *)) FindFunction(libX11, "XGrabServer");
+    if (p_nbridge_XGrabServer == NULL) {
+        p_nbridge_XGrabServer = (int (*) (void *)) FindFunction(libX11, "XGrabServer");
     }
-    return (jint) (* pXGrabServer)((void *) param_0);
+    return (jint) (* p_nbridge_XGrabServer)((void *) param_0);
 }
 
-long (* pXCreateFontCursor) (void *, int) = NULL;
+unsigned long  (* p_nbridge_XCreateFontCursor) (void *, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCreateFontCursor( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXCreateFontCursor == NULL) {
-        pXCreateFontCursor = (long (*) (void *, int)) FindFunction(libX11, "XCreateFontCursor");
+    if (p_nbridge_XCreateFontCursor == NULL) {
+        p_nbridge_XCreateFontCursor = (unsigned long  (*) (void *, int)) FindFunction(libX11, "XCreateFontCursor");
     }
-    return (jlong) (* pXCreateFontCursor)((void *) param_0, (int) param_1);
+    return (jlong) (* p_nbridge_XCreateFontCursor)((void *) param_0, (int) param_1);
 }
 
-void * (* pXCreateImage) (void *, void *, int, int, int, void *, int, int, int, int) = NULL;
+void * (* p_nbridge_XCreateImage) (void *, void *, int, int, int, void *, int, int, int, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCreateImage( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jint param_4, jlong param_5, jint param_6, jint param_7, jint param_8, jint param_9) {
-    if (pXCreateImage == NULL) {
-        pXCreateImage = (void * (*) (void *, void *, int, int, int, void *, int, int, int, int)) FindFunction(libX11, "XCreateImage");
+    if (p_nbridge_XCreateImage == NULL) {
+        p_nbridge_XCreateImage = (void * (*) (void *, void *, int, int, int, void *, int, int, int, int)) FindFunction(libX11, "XCreateImage");
     }
-    return (jlong) (* pXCreateImage)((void *) param_0, (void *) param_1, (int) param_2, (int) param_3, (int) param_4, (void *) param_5, (int) param_6, (int) param_7, (int) param_8, (int) param_9);
+    return (jlong) (* p_nbridge_XCreateImage)((void *) param_0, (void *) param_1, (int) param_2, (int) param_3, (int) param_4, (void *) param_5, (int) param_6, (int) param_7, (int) param_8, (int) param_9);
 }
 
-int (* pXRestackWindows) (void *, void *, int) = NULL;
+int (* p_nbridge_XRestackWindows) (void *, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XRestackWindows( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2) {
-    if (pXRestackWindows == NULL) {
-        pXRestackWindows = (int (*) (void *, void *, int)) FindFunction(libX11, "XRestackWindows");
+    if (p_nbridge_XRestackWindows == NULL) {
+        p_nbridge_XRestackWindows = (int (*) (void *, void *, int)) FindFunction(libX11, "XRestackWindows");
     }
-    return (jint) (* pXRestackWindows)((void *) param_0, (void *) param_1, (int) param_2);
+    return (jint) (* p_nbridge_XRestackWindows)((void *) param_0, (void *) param_1, (int) param_2);
 }
 
-int (* pXDefaultDepth) (void *, int) = NULL;
+int (* p_nbridge_XDefaultDepth) (void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDefaultDepth( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXDefaultDepth == NULL) {
-        pXDefaultDepth = (int (*) (void *, int)) FindFunction(libX11, "XDefaultDepth");
+    if (p_nbridge_XDefaultDepth == NULL) {
+        p_nbridge_XDefaultDepth = (int (*) (void *, int)) FindFunction(libX11, "XDefaultDepth");
     }
-    return (jint) (* pXDefaultDepth)((void *) param_0, (int) param_1);
+    return (jint) (* p_nbridge_XDefaultDepth)((void *) param_0, (int) param_1);
 }
 
-int (* pXFree) (void *) = NULL;
+int (* p_nbridge_XFree) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFree( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXFree == NULL) {
-        pXFree = (int (*) (void *)) FindFunction(libX11, "XFree");
+    if (p_nbridge_XFree == NULL) {
+        p_nbridge_XFree = (int (*) (void *)) FindFunction(libX11, "XFree");
     }
-    return (jint) (* pXFree)((void *) param_0);
+    return (jint) (* p_nbridge_XFree)((void *) param_0);
 }
 
-int (* pXMoveWindow) (void *, long, int, int) = NULL;
+int (* p_nbridge_XMoveWindow) (void *, long, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XMoveWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3) {
-    if (pXMoveWindow == NULL) {
-        pXMoveWindow = (int (*) (void *, long, int, int)) FindFunction(libX11, "XMoveWindow");
+    if (p_nbridge_XMoveWindow == NULL) {
+        p_nbridge_XMoveWindow = (int (*) (void *, long, int, int)) FindFunction(libX11, "XMoveWindow");
     }
-    return (jint) (* pXMoveWindow)((void *) param_0, (long) param_1, (int) param_2, (int) param_3);
+    return (jint) (* p_nbridge_XMoveWindow)((void *) param_0, (long) param_1, (int) param_2, (int) param_3);
 }
 
-int (* pXScreenCount) (void *) = NULL;
+int (* p_nbridge_XScreenCount) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XScreenCount( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXScreenCount == NULL) {
-        pXScreenCount = (int (*) (void *)) FindFunction(libX11, "XScreenCount");
+    if (p_nbridge_XScreenCount == NULL) {
+        p_nbridge_XScreenCount = (int (*) (void *)) FindFunction(libX11, "XScreenCount");
     }
-    return (jint) (* pXScreenCount)((void *) param_0);
+    return (jint) (* p_nbridge_XScreenCount)((void *) param_0);
 }
 
-long (* pXDefaultRootWindow) (void *) = NULL;
+unsigned long  (* p_nbridge_XDefaultRootWindow) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDefaultRootWindow( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXDefaultRootWindow == NULL) {
-        pXDefaultRootWindow = (long (*) (void *)) FindFunction(libX11, "XDefaultRootWindow");
+    if (p_nbridge_XDefaultRootWindow == NULL) {
+        p_nbridge_XDefaultRootWindow = (unsigned long  (*) (void *)) FindFunction(libX11, "XDefaultRootWindow");
     }
-    return (jlong) (* pXDefaultRootWindow)((void *) param_0);
+    return (jlong) (* p_nbridge_XDefaultRootWindow)((void *) param_0);
 }
 
-int (* pXResizeWindow) (void *, long, int, int) = NULL;
+int (* p_nbridge_XResizeWindow) (void *, long, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XResizeWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3) {
-    if (pXResizeWindow == NULL) {
-        pXResizeWindow = (int (*) (void *, long, int, int)) FindFunction(libX11, "XResizeWindow");
+    if (p_nbridge_XResizeWindow == NULL) {
+        p_nbridge_XResizeWindow = (int (*) (void *, long, int, int)) FindFunction(libX11, "XResizeWindow");
     }
-    return (jint) (* pXResizeWindow)((void *) param_0, (long) param_1, (int) param_2, (int) param_3);
+    return (jint) (* p_nbridge_XResizeWindow)((void *) param_0, (long) param_1, (int) param_2, (int) param_3);
 }
 
-int (* pXFillPolygon) (void *, long, void *, void *, int, int, int) = NULL;
+int (* p_nbridge_XFillPolygon) (void *, long, void *, void *, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFillPolygon( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jint param_4, jint param_5, jint param_6) {
-    if (pXFillPolygon == NULL) {
-        pXFillPolygon = (int (*) (void *, long, void *, void *, int, int, int)) FindFunction(libX11, "XFillPolygon");
+    if (p_nbridge_XFillPolygon == NULL) {
+        p_nbridge_XFillPolygon = (int (*) (void *, long, void *, void *, int, int, int)) FindFunction(libX11, "XFillPolygon");
     }
-    return (jint) (* pXFillPolygon)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (int) param_4, (int) param_5, (int) param_6);
+    return (jint) (* p_nbridge_XFillPolygon)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (int) param_4, (int) param_5, (int) param_6);
 }
 
-int (* pXTestFakeMotionEvent) (void *, int, int, int, long) = NULL;
+int (* p_nbridge_XTestFakeMotionEvent) (void *, int, int, int, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XTestFakeMotionEvent( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jint param_3, jlong param_4) {
-    if (pXTestFakeMotionEvent == NULL) {
-        pXTestFakeMotionEvent = (int (*) (void *, int, int, int, long)) FindFunction(libXtst, "XTestFakeMotionEvent");
+    if (p_nbridge_XTestFakeMotionEvent == NULL) {
+        p_nbridge_XTestFakeMotionEvent = (int (*) (void *, int, int, int, long)) FindFunction(libXtst, "XTestFakeMotionEvent");
     }
-    return (jint) (* pXTestFakeMotionEvent)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (long) param_4);
+    return (jint) (* p_nbridge_XTestFakeMotionEvent)((void *) param_0, (int) param_1, (int) param_2, (int) param_3, (long) param_4);
 }
 
-void * (* pXCreateGC) (void *, long, long, void *) = NULL;
+void * (* p_nbridge_XCreateGC) (void *, long, long, void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCreateGC( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3) {
-    if (pXCreateGC == NULL) {
-        pXCreateGC = (void * (*) (void *, long, long, void *)) FindFunction(libX11, "XCreateGC");
+    if (p_nbridge_XCreateGC == NULL) {
+        p_nbridge_XCreateGC = (void * (*) (void *, long, long, void *)) FindFunction(libX11, "XCreateGC");
     }
-    return (jlong) (* pXCreateGC)((void *) param_0, (long) param_1, (long) param_2, (void *) param_3);
+    return (jlong) (* p_nbridge_XCreateGC)((void *) param_0, (long) param_1, (long) param_2, (void *) param_3);
 }
 
-int (* pXTestFakeKeyEvent) (void *, int, int, long) = NULL;
+int (* p_nbridge_XTestFakeKeyEvent) (void *, int, int, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XTestFakeKeyEvent( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jlong param_3) {
-    if (pXTestFakeKeyEvent == NULL) {
-        pXTestFakeKeyEvent = (int (*) (void *, int, int, long)) FindFunction(libXtst, "XTestFakeKeyEvent");
+    if (p_nbridge_XTestFakeKeyEvent == NULL) {
+        p_nbridge_XTestFakeKeyEvent = (int (*) (void *, int, int, long)) FindFunction(libXtst, "XTestFakeKeyEvent");
     }
-    return (jint) (* pXTestFakeKeyEvent)((void *) param_0, (int) param_1, (int) param_2, (long) param_3);
+    return (jint) (* p_nbridge_XTestFakeKeyEvent)((void *) param_0, (int) param_1, (int) param_2, (long) param_3);
 }
 
-int (* pXCopyArea) (void *, long, long, void *, int, int, int, int, int, int) = NULL;
+int (* p_nbridge_XCopyArea) (void *, long, long, void *, int, int, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCopyArea( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jint param_4, jint param_5, jint param_6, jint param_7, jint param_8, jint param_9) {
-    if (pXCopyArea == NULL) {
-        pXCopyArea = (int (*) (void *, long, long, void *, int, int, int, int, int, int)) FindFunction(libX11, "XCopyArea");
+    if (p_nbridge_XCopyArea == NULL) {
+        p_nbridge_XCopyArea = (int (*) (void *, long, long, void *, int, int, int, int, int, int)) FindFunction(libX11, "XCopyArea");
     }
-    return (jint) (* pXCopyArea)((void *) param_0, (long) param_1, (long) param_2, (void *) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8, (int) param_9);
+    return (jint) (* p_nbridge_XCopyArea)((void *) param_0, (long) param_1, (long) param_2, (void *) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8, (int) param_9);
 }
 
-long (* pXKeycodeToKeysym) (void *, int, int) = NULL;
+unsigned long  (* p_nbridge_XKeycodeToKeysym) (void *, int, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XKeycodeToKeysym( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2) {
-    if (pXKeycodeToKeysym == NULL) {
-        pXKeycodeToKeysym = (long (*) (void *, int, int)) FindFunction(libX11, "XKeycodeToKeysym");
+    if (p_nbridge_XKeycodeToKeysym == NULL) {
+        p_nbridge_XKeycodeToKeysym = (unsigned long  (*) (void *, int, int)) FindFunction(libX11, "XKeycodeToKeysym");
     }
-    return (jlong) (* pXKeycodeToKeysym)((void *) param_0, (int) param_1, (int) param_2);
+    return (jlong) (* p_nbridge_XKeycodeToKeysym)((void *) param_0, (int) param_1, (int) param_2);
 }
 
-int (* pXImageByteOrder) (void *) = NULL;
+int (* p_nbridge_XImageByteOrder) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XImageByteOrder( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXImageByteOrder == NULL) {
-        pXImageByteOrder = (int (*) (void *)) FindFunction(libX11, "XImageByteOrder");
+    if (p_nbridge_XImageByteOrder == NULL) {
+        p_nbridge_XImageByteOrder = (int (*) (void *)) FindFunction(libX11, "XImageByteOrder");
     }
-    return (jint) (* pXImageByteOrder)((void *) param_0);
+    return (jint) (* p_nbridge_XImageByteOrder)((void *) param_0);
 }
 
-int (* pXDefaultScreen) (void *) = NULL;
+int (* p_nbridge_XDefaultScreen) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDefaultScreen( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXDefaultScreen == NULL) {
-        pXDefaultScreen = (int (*) (void *)) FindFunction(libX11, "XDefaultScreen");
+    if (p_nbridge_XDefaultScreen == NULL) {
+        p_nbridge_XDefaultScreen = (int (*) (void *)) FindFunction(libX11, "XDefaultScreen");
     }
-    return (jint) (* pXDefaultScreen)((void *) param_0);
+    return (jint) (* p_nbridge_XDefaultScreen)((void *) param_0);
 }
 
-int (* pXConvertSelection) (void *, long, long, long, long, long) = NULL;
+int (* p_nbridge_XConvertSelection) (void *, long, long, long, long, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XConvertSelection( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4, jlong param_5) {
-    if (pXConvertSelection == NULL) {
-        pXConvertSelection = (int (*) (void *, long, long, long, long, long)) FindFunction(libX11, "XConvertSelection");
+    if (p_nbridge_XConvertSelection == NULL) {
+        p_nbridge_XConvertSelection = (int (*) (void *, long, long, long, long, long)) FindFunction(libX11, "XConvertSelection");
     }
-    return (jint) (* pXConvertSelection)((void *) param_0, (long) param_1, (long) param_2, (long) param_3, (long) param_4, (long) param_5);
+    return (jint) (* p_nbridge_XConvertSelection)((void *) param_0, (long) param_1, (long) param_2, (long) param_3, (long) param_4, (long) param_5);
 }
 
-long (* pXGetSelectionOwner) (void *, long) = NULL;
+unsigned long  (* p_nbridge_XGetSelectionOwner) (void *, long) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetSelectionOwner( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXGetSelectionOwner == NULL) {
-        pXGetSelectionOwner = (long (*) (void *, long)) FindFunction(libX11, "XGetSelectionOwner");
+    if (p_nbridge_XGetSelectionOwner == NULL) {
+        p_nbridge_XGetSelectionOwner = (unsigned long  (*) (void *, long)) FindFunction(libX11, "XGetSelectionOwner");
     }
-    return (jlong) (* pXGetSelectionOwner)((void *) param_0, (long) param_1);
+    return (jlong) (* p_nbridge_XGetSelectionOwner)((void *) param_0, (long) param_1);
 }
 
-int (* pXFillRectangles) (void *, long, void *, void *, int) = NULL;
+int (* p_nbridge_XFillRectangles) (void *, long, void *, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFillRectangles( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jint param_4) {
-    if (pXFillRectangles == NULL) {
-        pXFillRectangles = (int (*) (void *, long, void *, void *, int)) FindFunction(libX11, "XFillRectangles");
+    if (p_nbridge_XFillRectangles == NULL) {
+        p_nbridge_XFillRectangles = (int (*) (void *, long, void *, void *, int)) FindFunction(libX11, "XFillRectangles");
     }
-    return (jint) (* pXFillRectangles)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (int) param_4);
+    return (jint) (* p_nbridge_XFillRectangles)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (int) param_4);
 }
 
-int (* pXSetIconName) (void *, long, void *) = NULL;
+int (* p_nbridge_XSetIconName) (void *, long, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetIconName( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXSetIconName == NULL) {
-        pXSetIconName = (int (*) (void *, long, void *)) FindFunction(libX11, "XSetIconName");
+    if (p_nbridge_XSetIconName == NULL) {
+        p_nbridge_XSetIconName = (int (*) (void *, long, void *)) FindFunction(libX11, "XSetIconName");
     }
-    return (jint) (* pXSetIconName)((void *) param_0, (long) param_1, (void *) param_2);
+    return (jint) (* p_nbridge_XSetIconName)((void *) param_0, (long) param_1, (void *) param_2);
 }
 
-int (* pXDisplayWidthMM) (void *, int) = NULL;
+int (* p_nbridge_XDisplayWidthMM) (void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDisplayWidthMM( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXDisplayWidthMM == NULL) {
-        pXDisplayWidthMM = (int (*) (void *, int)) FindFunction(libX11, "XDisplayWidthMM");
+    if (p_nbridge_XDisplayWidthMM == NULL) {
+        p_nbridge_XDisplayWidthMM = (int (*) (void *, int)) FindFunction(libX11, "XDisplayWidthMM");
     }
-    return (jint) (* pXDisplayWidthMM)((void *) param_0, (int) param_1);
+    return (jint) (* p_nbridge_XDisplayWidthMM)((void *) param_0, (int) param_1);
 }
 
-int (* pXMapWindow) (void *, long) = NULL;
+int (* p_nbridge_XMapWindow) (void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XMapWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXMapWindow == NULL) {
-        pXMapWindow = (int (*) (void *, long)) FindFunction(libX11, "XMapWindow");
+    if (p_nbridge_XMapWindow == NULL) {
+        p_nbridge_XMapWindow = (int (*) (void *, long)) FindFunction(libX11, "XMapWindow");
     }
-    return (jint) (* pXMapWindow)((void *) param_0, (long) param_1);
+    return (jint) (* p_nbridge_XMapWindow)((void *) param_0, (long) param_1);
 }
 
-int (* pXParseColor) (void *, long, void *, void *) = NULL;
+int (* p_nbridge_XParseColor) (void *, long, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XParseColor( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3) {
-    if (pXParseColor == NULL) {
-        pXParseColor = (int (*) (void *, long, void *, void *)) FindFunction(libX11, "XParseColor");
+    if (p_nbridge_XParseColor == NULL) {
+        p_nbridge_XParseColor = (int (*) (void *, long, void *, void *)) FindFunction(libX11, "XParseColor");
     }
-    return (jint) (* pXParseColor)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3);
+    return (jint) (* p_nbridge_XParseColor)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3);
 }
 
-int (* pXTestFakeButtonEvent) (void *, int, int, long) = NULL;
+int (* p_nbridge_XTestFakeButtonEvent) (void *, int, int, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XTestFakeButtonEvent( JNIEnv *env, jobject self, jlong param_0, jint param_1, jint param_2, jlong param_3) {
-    if (pXTestFakeButtonEvent == NULL) {
-        pXTestFakeButtonEvent = (int (*) (void *, int, int, long)) FindFunction(libXtst, "XTestFakeButtonEvent");
+    if (p_nbridge_XTestFakeButtonEvent == NULL) {
+        p_nbridge_XTestFakeButtonEvent = (int (*) (void *, int, int, long)) FindFunction(libXtst, "XTestFakeButtonEvent");
     }
-    return (jint) (* pXTestFakeButtonEvent)((void *) param_0, (int) param_1, (int) param_2, (long) param_3);
+    return (jint) (* p_nbridge_XTestFakeButtonEvent)((void *) param_0, (int) param_1, (int) param_2, (long) param_3);
 }
 
-int (* pXGetWindowProperty) (void *, long, long, long, long, int, long, void *, void *, void *, void *, void *) = NULL;
+int (* p_nbridge_XGetWindowProperty) (void *, long, long, long, long, int, long, void *, void *, void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetWindowProperty( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4, jint param_5, jlong param_6, jlong param_7, jlong param_8, jlong param_9, jlong param_10, jlong param_11) {
-    if (pXGetWindowProperty == NULL) {
-        pXGetWindowProperty = (int (*) (void *, long, long, long, long, int, long, void *, void *, void *, void *, void *)) FindFunction(libX11, "XGetWindowProperty");
+    if (p_nbridge_XGetWindowProperty == NULL) {
+        p_nbridge_XGetWindowProperty = (int (*) (void *, long, long, long, long, int, long, void *, void *, void *, void *, void *)) FindFunction(libX11, "XGetWindowProperty");
     }
-    return (jint) (* pXGetWindowProperty)((void *) param_0, (long) param_1, (long) param_2, (long) param_3, (long) param_4, (int) param_5, (long) param_6, (void *) param_7, (void *) param_8, (void *) param_9, (void *) param_10, (void *) param_11);
+    return (jint) (* p_nbridge_XGetWindowProperty)((void *) param_0, (long) param_1, (long) param_2, (long) param_3, (long) param_4, (int) param_5, (long) param_6, (void *) param_7, (void *) param_8, (void *) param_9, (void *) param_10, (void *) param_11);
 }
 
-int (* pXIconifyWindow) (void *, long, int) = NULL;
+int (* p_nbridge_XIconifyWindow) (void *, long, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XIconifyWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2) {
-    if (pXIconifyWindow == NULL) {
-        pXIconifyWindow = (int (*) (void *, long, int)) FindFunction(libX11, "XIconifyWindow");
+    if (p_nbridge_XIconifyWindow == NULL) {
+        p_nbridge_XIconifyWindow = (int (*) (void *, long, int)) FindFunction(libX11, "XIconifyWindow");
     }
-    return (jint) (* pXIconifyWindow)((void *) param_0, (long) param_1, (int) param_2);
+    return (jint) (* p_nbridge_XIconifyWindow)((void *) param_0, (long) param_1, (int) param_2);
 }
 
-void * (* pXAllocWMHints) (void) = NULL;
+void * (* p_nbridge_XAllocWMHints) (void) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XAllocWMHints( JNIEnv *env, jobject self) {
-    if (pXAllocWMHints == NULL) {
-        pXAllocWMHints = (void * (*) (void)) FindFunction(libX11, "XAllocWMHints");
+    if (p_nbridge_XAllocWMHints == NULL) {
+        p_nbridge_XAllocWMHints = (void * (*) (void)) FindFunction(libX11, "XAllocWMHints");
+    }
+    return (jlong) (* p_nbridge_XAllocWMHints)();
+}
+
+int (* p_nbridge_XGetRGBColormaps) (void *, long, void *, void *, long) = NULL;
+
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetRGBColormaps( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4) {
+    if (p_nbridge_XGetRGBColormaps == NULL) {
+        p_nbridge_XGetRGBColormaps = (int (*) (void *, long, void *, void *, long)) FindFunction(libX11, "XGetRGBColormaps");
     }
-    return (jlong) (* pXAllocWMHints)();
+    return (jint) (* p_nbridge_XGetRGBColormaps)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (long) param_4);
 }
 
-void * (* pXGetVisualInfo) (void *, long, void *, void *) = NULL;
+void * (* p_nbridge_XGetVisualInfo) (void *, long, void *, void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetVisualInfo( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3) {
-    if (pXGetVisualInfo == NULL) {
-        pXGetVisualInfo = (void * (*) (void *, long, void *, void *)) FindFunction(libX11, "XGetVisualInfo");
+    if (p_nbridge_XGetVisualInfo == NULL) {
+        p_nbridge_XGetVisualInfo = (void * (*) (void *, long, void *, void *)) FindFunction(libX11, "XGetVisualInfo");
     }
-    return (jlong) (* pXGetVisualInfo)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3);
+    return (jlong) (* p_nbridge_XGetVisualInfo)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3);
 }
 
-int (* pXSetFunction) (void *, void *, int) = NULL;
+int (* p_nbridge_XSetFunction) (void *, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetFunction( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2) {
-    if (pXSetFunction == NULL) {
-        pXSetFunction = (int (*) (void *, void *, int)) FindFunction(libX11, "XSetFunction");
+    if (p_nbridge_XSetFunction == NULL) {
+        p_nbridge_XSetFunction = (int (*) (void *, void *, int)) FindFunction(libX11, "XSetFunction");
     }
-    return (jint) (* pXSetFunction)((void *) param_0, (void *) param_1, (int) param_2);
+    return (jint) (* p_nbridge_XSetFunction)((void *) param_0, (void *) param_1, (int) param_2);
 }
 
-int (* pXDestroyWindow) (void *, long) = NULL;
+int (* p_nbridge_XDestroyWindow) (void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDestroyWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXDestroyWindow == NULL) {
-        pXDestroyWindow = (int (*) (void *, long)) FindFunction(libX11, "XDestroyWindow");
+    if (p_nbridge_XDestroyWindow == NULL) {
+        p_nbridge_XDestroyWindow = (int (*) (void *, long)) FindFunction(libX11, "XDestroyWindow");
     }
-    return (jint) (* pXDestroyWindow)((void *) param_0, (long) param_1);
+    return (jint) (* p_nbridge_XDestroyWindow)((void *) param_0, (long) param_1);
 }
 
-long (* pXRootWindow) (void *, int) = NULL;
+unsigned long  (* p_nbridge_XRootWindow) (void *, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XRootWindow( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXRootWindow == NULL) {
-        pXRootWindow = (long (*) (void *, int)) FindFunction(libX11, "XRootWindow");
+    if (p_nbridge_XRootWindow == NULL) {
+        p_nbridge_XRootWindow = (unsigned long  (*) (void *, int)) FindFunction(libX11, "XRootWindow");
     }
-    return (jlong) (* pXRootWindow)((void *) param_0, (int) param_1);
+    return (jlong) (* p_nbridge_XRootWindow)((void *) param_0, (int) param_1);
 }
 
-int (* pXLowerWindow) (void *, long) = NULL;
+int (* p_nbridge_XLowerWindow) (void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XLowerWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXLowerWindow == NULL) {
-        pXLowerWindow = (int (*) (void *, long)) FindFunction(libX11, "XLowerWindow");
+    if (p_nbridge_XLowerWindow == NULL) {
+        p_nbridge_XLowerWindow = (int (*) (void *, long)) FindFunction(libX11, "XLowerWindow");
     }
-    return (jint) (* pXLowerWindow)((void *) param_0, (long) param_1);
+    return (jint) (* p_nbridge_XLowerWindow)((void *) param_0, (long) param_1);
 }
 
-void * (* pXGetAtomName) (void *, long) = NULL;
+void * (* p_nbridge_XGetAtomName) (void *, long) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetAtomName( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXGetAtomName == NULL) {
-        pXGetAtomName = (void * (*) (void *, long)) FindFunction(libX11, "XGetAtomName");
+    if (p_nbridge_XGetAtomName == NULL) {
+        p_nbridge_XGetAtomName = (void * (*) (void *, long)) FindFunction(libX11, "XGetAtomName");
     }
-    return (jlong) (* pXGetAtomName)((void *) param_0, (long) param_1);
+    return (jlong) (* p_nbridge_XGetAtomName)((void *) param_0, (long) param_1);
 }
 
-int (* pXSelectInput) (void *, long, long) = NULL;
+int (* p_nbridge_XSelectInput) (void *, long, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSelectInput( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXSelectInput == NULL) {
-        pXSelectInput = (int (*) (void *, long, long)) FindFunction(libX11, "XSelectInput");
+    if (p_nbridge_XSelectInput == NULL) {
+        p_nbridge_XSelectInput = (int (*) (void *, long, long)) FindFunction(libX11, "XSelectInput");
     }
-    return (jint) (* pXSelectInput)((void *) param_0, (long) param_1, (long) param_2);
+    return (jint) (* p_nbridge_XSelectInput)((void *) param_0, (long) param_1, (long) param_2);
 }
 
-void * (* pXGetImage) (void *, long, int, int, int, int, long, int) = NULL;
+void * (* p_nbridge_XGetImage) (void *, long, int, int, int, int, long, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetImage( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jint param_4, jint param_5, jlong param_6, jint param_7) {
-    if (pXGetImage == NULL) {
-        pXGetImage = (void * (*) (void *, long, int, int, int, int, long, int)) FindFunction(libX11, "XGetImage");
+    if (p_nbridge_XGetImage == NULL) {
+        p_nbridge_XGetImage = (void * (*) (void *, long, int, int, int, int, long, int)) FindFunction(libX11, "XGetImage");
     }
-    return (jlong) (* pXGetImage)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (long) param_6, (int) param_7);
+    return (jlong) (* p_nbridge_XGetImage)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (long) param_6, (int) param_7);
 }
 
-int (* pXDrawRectangle) (void *, long, void *, int, int, int, int) = NULL;
+int (* p_nbridge_XDrawRectangle) (void *, long, void *, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDrawRectangle( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3, jint param_4, jint param_5, jint param_6) {
-    if (pXDrawRectangle == NULL) {
-        pXDrawRectangle = (int (*) (void *, long, void *, int, int, int, int)) FindFunction(libX11, "XDrawRectangle");
+    if (p_nbridge_XDrawRectangle == NULL) {
+        p_nbridge_XDrawRectangle = (int (*) (void *, long, void *, int, int, int, int)) FindFunction(libX11, "XDrawRectangle");
     }
-    return (jint) (* pXDrawRectangle)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6);
+    return (jint) (* p_nbridge_XDrawRectangle)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6);
 }
 
-int (* pXUngrabPointer) (void *, long) = NULL;
+int (* p_nbridge_XUngrabPointer) (void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XUngrabPointer( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXUngrabPointer == NULL) {
-        pXUngrabPointer = (int (*) (void *, long)) FindFunction(libX11, "XUngrabPointer");
+    if (p_nbridge_XUngrabPointer == NULL) {
+        p_nbridge_XUngrabPointer = (int (*) (void *, long)) FindFunction(libX11, "XUngrabPointer");
     }
-    return (jint) (* pXUngrabPointer)((void *) param_0, (long) param_1);
+    return (jint) (* p_nbridge_XUngrabPointer)((void *) param_0, (long) param_1);
 }
 
-int (* pXSetForeground) (void *, void *, long) = NULL;
+int (* p_nbridge_XSetForeground) (void *, void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetForeground( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXSetForeground == NULL) {
-        pXSetForeground = (int (*) (void *, void *, long)) FindFunction(libX11, "XSetForeground");
+    if (p_nbridge_XSetForeground == NULL) {
+        p_nbridge_XSetForeground = (int (*) (void *, void *, long)) FindFunction(libX11, "XSetForeground");
     }
-    return (jint) (* pXSetForeground)((void *) param_0, (void *) param_1, (long) param_2);
+    return (jint) (* p_nbridge_XSetForeground)((void *) param_0, (void *) param_1, (long) param_2);
 }
 
-int (* pXMapRaised) (void *, long) = NULL;
+int (* p_nbridge_XMapRaised) (void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XMapRaised( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXMapRaised == NULL) {
-        pXMapRaised = (int (*) (void *, long)) FindFunction(libX11, "XMapRaised");
+    if (p_nbridge_XMapRaised == NULL) {
+        p_nbridge_XMapRaised = (int (*) (void *, long)) FindFunction(libX11, "XMapRaised");
     }
-    return (jint) (* pXMapRaised)((void *) param_0, (long) param_1);
+    return (jint) (* p_nbridge_XMapRaised)((void *) param_0, (long) param_1);
 }
 
-long (* pXAllPlanes) (void) = NULL;
+long (* p_nbridge_XAllPlanes) (void) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XAllPlanes( JNIEnv *env, jobject self) {
-    if (pXAllPlanes == NULL) {
-        pXAllPlanes = (long (*) (void)) FindFunction(libX11, "XAllPlanes");
+    if (p_nbridge_XAllPlanes == NULL) {
+        p_nbridge_XAllPlanes = (long (*) (void)) FindFunction(libX11, "XAllPlanes");
     }
-    return (jlong) (* pXAllPlanes)();
+    return (jlong) (* p_nbridge_XAllPlanes)();
 }
 
-char (* pXKeysymToKeycode) (void *, long) = NULL;
+unsigned char  (* p_nbridge_XKeysymToKeycode) (void *, long) = NULL;
 
 JNIEXPORT jbyte  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XKeysymToKeycode( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXKeysymToKeycode == NULL) {
-        pXKeysymToKeycode = (char (*) (void *, long)) FindFunction(libX11, "XKeysymToKeycode");
+    if (p_nbridge_XKeysymToKeycode == NULL) {
+        p_nbridge_XKeysymToKeycode = (unsigned char  (*) (void *, long)) FindFunction(libX11, "XKeysymToKeycode");
     }
-    return (jbyte) (* pXKeysymToKeycode)((void *) param_0, (long) param_1);
+    return (jbyte) (* p_nbridge_XKeysymToKeycode)((void *) param_0, (long) param_1);
 }
 
-int (* pXQueryPointer) (void *, long, void *, void *, void *, void *, void *, void *, void *) = NULL;
+int (* p_nbridge_XQueryPointer) (void *, long, void *, void *, void *, void *, void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XQueryPointer( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4, jlong param_5, jlong param_6, jlong param_7, jlong param_8) {
-    if (pXQueryPointer == NULL) {
-        pXQueryPointer = (int (*) (void *, long, void *, void *, void *, void *, void *, void *, void *)) FindFunction(libX11, "XQueryPointer");
+    if (p_nbridge_XQueryPointer == NULL) {
+        p_nbridge_XQueryPointer = (int (*) (void *, long, void *, void *, void *, void *, void *, void *, void *)) FindFunction(libX11, "XQueryPointer");
     }
-    return (jint) (* pXQueryPointer)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (void *) param_4, (void *) param_5, (void *) param_6, (void *) param_7, (void *) param_8);
+    return (jint) (* p_nbridge_XQueryPointer)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (void *) param_4, (void *) param_5, (void *) param_6, (void *) param_7, (void *) param_8);
 }
 
-int (* pXDisplayWidth) (void *, int) = NULL;
+int (* p_nbridge_XDisplayWidth) (void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDisplayWidth( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXDisplayWidth == NULL) {
-        pXDisplayWidth = (int (*) (void *, int)) FindFunction(libX11, "XDisplayWidth");
+    if (p_nbridge_XDisplayWidth == NULL) {
+        p_nbridge_XDisplayWidth = (int (*) (void *, int)) FindFunction(libX11, "XDisplayWidth");
     }
-    return (jint) (* pXDisplayWidth)((void *) param_0, (int) param_1);
+    return (jint) (* p_nbridge_XDisplayWidth)((void *) param_0, (int) param_1);
 }
 
-int (* pXDisplayHeightMM) (void *, int) = NULL;
+int (* p_nbridge_XDisplayHeightMM) (void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDisplayHeightMM( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXDisplayHeightMM == NULL) {
-        pXDisplayHeightMM = (int (*) (void *, int)) FindFunction(libX11, "XDisplayHeightMM");
+    if (p_nbridge_XDisplayHeightMM == NULL) {
+        p_nbridge_XDisplayHeightMM = (int (*) (void *, int)) FindFunction(libX11, "XDisplayHeightMM");
     }
-    return (jint) (* pXDisplayHeightMM)((void *) param_0, (int) param_1);
+    return (jint) (* p_nbridge_XDisplayHeightMM)((void *) param_0, (int) param_1);
 }
 
-int (* pXChangeProperty) (void *, long, long, long, int, int, void *, int) = NULL;
+int (* p_nbridge_XChangeProperty) (void *, long, long, long, int, int, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XChangeProperty( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jint param_4, jint param_5, jlong param_6, jint param_7) {
-    if (pXChangeProperty == NULL) {
-        pXChangeProperty = (int (*) (void *, long, long, long, int, int, void *, int)) FindFunction(libX11, "XChangeProperty");
+    if (p_nbridge_XChangeProperty == NULL) {
+        p_nbridge_XChangeProperty = (int (*) (void *, long, long, long, int, int, void *, int)) FindFunction(libX11, "XChangeProperty");
     }
-    return (jint) (* pXChangeProperty)((void *) param_0, (long) param_1, (long) param_2, (long) param_3, (int) param_4, (int) param_5, (void *) param_6, (int) param_7);
+    return (jint) (* p_nbridge_XChangeProperty)((void *) param_0, (long) param_1, (long) param_2, (long) param_3, (int) param_4, (int) param_5, (void *) param_6, (int) param_7);
 }
 
-int (* pXCheckTypedEvent) (void *, int, void *) = NULL;
+int (* p_nbridge_XCheckTypedEvent) (void *, int, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCheckTypedEvent( JNIEnv *env, jobject self, jlong param_0, jint param_1, jlong param_2) {
-    if (pXCheckTypedEvent == NULL) {
-        pXCheckTypedEvent = (int (*) (void *, int, void *)) FindFunction(libX11, "XCheckTypedEvent");
+    if (p_nbridge_XCheckTypedEvent == NULL) {
+        p_nbridge_XCheckTypedEvent = (int (*) (void *, int, void *)) FindFunction(libX11, "XCheckTypedEvent");
     }
-    return (jint) (* pXCheckTypedEvent)((void *) param_0, (int) param_1, (void *) param_2);
+    return (jint) (* p_nbridge_XCheckTypedEvent)((void *) param_0, (int) param_1, (void *) param_2);
 }
 
-int (* pXPutImage) (void *, long, void *, void *, int, int, int, int, int, int) = NULL;
+int (* p_nbridge_XPutImage) (void *, long, void *, void *, int, int, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XPutImage( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jint param_4, jint param_5, jint param_6, jint param_7, jint param_8, jint param_9) {
-    if (pXPutImage == NULL) {
-        pXPutImage = (int (*) (void *, long, void *, void *, int, int, int, int, int, int)) FindFunction(libX11, "XPutImage");
+    if (p_nbridge_XPutImage == NULL) {
+        p_nbridge_XPutImage = (int (*) (void *, long, void *, void *, int, int, int, int, int, int)) FindFunction(libX11, "XPutImage");
+    }
+    return (jint) (* p_nbridge_XPutImage)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8, (int) param_9);
+}
+
+int (* p_nbridge_XmuLookupStandardColormap) (void *, int, long, int, long, int, int) = NULL;
+
+JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XmuLookupStandardColormap( JNIEnv *env, jobject self, jlong dpy, jint screen, jlong visualid, jint depth, jlong property, jint replace, jint retain) {
+    if (p_nbridge_XmuLookupStandardColormap == NULL) {
+        p_nbridge_XmuLookupStandardColormap = (int (*) (void *, int, long, int, long, int, int)) FindFunction(libXmu, "XmuLookupStandardColormap");
     }
-    return (jint) (* pXPutImage)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8, (int) param_9);
+    return (jint) (* p_nbridge_XmuLookupStandardColormap)((void *) dpy, (int) screen, (long) visualid, (int) depth, (long) property, (int) replace, (int) retain);
 }
 
-int (* pXStoreName) (void *, long, void *) = NULL;
+int (* p_nbridge_XStoreName) (void *, long, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XStoreName( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXStoreName == NULL) {
-        pXStoreName = (int (*) (void *, long, void *)) FindFunction(libX11, "XStoreName");
+    if (p_nbridge_XStoreName == NULL) {
+        p_nbridge_XStoreName = (int (*) (void *, long, void *)) FindFunction(libX11, "XStoreName");
     }
-    return (jint) (* pXStoreName)((void *) param_0, (long) param_1, (void *) param_2);
+    return (jint) (* p_nbridge_XStoreName)((void *) param_0, (long) param_1, (void *) param_2);
 }
 
-int (* pXSetClipRectangles) (void *, void *, int, int, void *, int, int) = NULL;
+void * (* p_nbridge_XAllocStandardColormap) (void) = NULL;
+
+JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XAllocStandardColormap( JNIEnv *env, jobject self) {
+    if (p_nbridge_XAllocStandardColormap == NULL) {
+        p_nbridge_XAllocStandardColormap = (void * (*) (void)) FindFunction(libX11, "XAllocStandardColormap");
+    }
+    return (jlong) (* p_nbridge_XAllocStandardColormap)();
+}
+
+int (* p_nbridge_XSetClipRectangles) (void *, void *, int, int, void *, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetClipRectangles( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jlong param_4, jint param_5, jint param_6) {
-    if (pXSetClipRectangles == NULL) {
-        pXSetClipRectangles = (int (*) (void *, void *, int, int, void *, int, int)) FindFunction(libX11, "XSetClipRectangles");
+    if (p_nbridge_XSetClipRectangles == NULL) {
+        p_nbridge_XSetClipRectangles = (int (*) (void *, void *, int, int, void *, int, int)) FindFunction(libX11, "XSetClipRectangles");
     }
-    return (jint) (* pXSetClipRectangles)((void *) param_0, (void *) param_1, (int) param_2, (int) param_3, (void *) param_4, (int) param_5, (int) param_6);
+    return (jint) (* p_nbridge_XSetClipRectangles)((void *) param_0, (void *) param_1, (int) param_2, (int) param_3, (void *) param_4, (int) param_5, (int) param_6);
 }
 
-int (* pXChangeWindowAttributes) (void *, long, long, void *) = NULL;
+int (* p_nbridge_XChangeWindowAttributes) (void *, long, long, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XChangeWindowAttributes( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3) {
-    if (pXChangeWindowAttributes == NULL) {
-        pXChangeWindowAttributes = (int (*) (void *, long, long, void *)) FindFunction(libX11, "XChangeWindowAttributes");
+    if (p_nbridge_XChangeWindowAttributes == NULL) {
+        p_nbridge_XChangeWindowAttributes = (int (*) (void *, long, long, void *)) FindFunction(libX11, "XChangeWindowAttributes");
     }
-    return (jint) (* pXChangeWindowAttributes)((void *) param_0, (long) param_1, (long) param_2, (void *) param_3);
+    return (jint) (* p_nbridge_XChangeWindowAttributes)((void *) param_0, (long) param_1, (long) param_2, (void *) param_3);
 }
 
-void * (* pXDisplayString) (void *) = NULL;
+void * (* p_nbridge_XDisplayString) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDisplayString( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXDisplayString == NULL) {
-        pXDisplayString = (void * (*) (void *)) FindFunction(libX11, "XDisplayString");
+    if (p_nbridge_XDisplayString == NULL) {
+        p_nbridge_XDisplayString = (void * (*) (void *)) FindFunction(libX11, "XDisplayString");
     }
-    return (jlong) (* pXDisplayString)((void *) param_0);
+    return (jlong) (* p_nbridge_XDisplayString)((void *) param_0);
 }
 
-int (* pXSetFillRule) (void *, void *, int) = NULL;
+int (* p_nbridge_XSetFillRule) (void *, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetFillRule( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2) {
-    if (pXSetFillRule == NULL) {
-        pXSetFillRule = (int (*) (void *, void *, int)) FindFunction(libX11, "XSetFillRule");
+    if (p_nbridge_XSetFillRule == NULL) {
+        p_nbridge_XSetFillRule = (int (*) (void *, void *, int)) FindFunction(libX11, "XSetFillRule");
     }
-    return (jint) (* pXSetFillRule)((void *) param_0, (void *) param_1, (int) param_2);
+    return (jint) (* p_nbridge_XSetFillRule)((void *) param_0, (void *) param_1, (int) param_2);
 }
 
-int (* pXInitImage) (void *) = NULL;
+int (* p_nbridge_XInitImage) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XInitImage( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXInitImage == NULL) {
-        pXInitImage = (int (*) (void *)) FindFunction(libX11, "XInitImage");
+    if (p_nbridge_XInitImage == NULL) {
+        p_nbridge_XInitImage = (int (*) (void *)) FindFunction(libX11, "XInitImage");
     }
-    return (jint) (* pXInitImage)((void *) param_0);
+    return (jint) (* p_nbridge_XInitImage)((void *) param_0);
 }
 
-int (* pXSetDashes) (void *, void *, int, void *, int) = NULL;
+int (* p_nbridge_XSetDashes) (void *, void *, int, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetDashes( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jlong param_3, jint param_4) {
-    if (pXSetDashes == NULL) {
-        pXSetDashes = (int (*) (void *, void *, int, void *, int)) FindFunction(libX11, "XSetDashes");
+    if (p_nbridge_XSetDashes == NULL) {
+        p_nbridge_XSetDashes = (int (*) (void *, void *, int, void *, int)) FindFunction(libX11, "XSetDashes");
     }
-    return (jint) (* pXSetDashes)((void *) param_0, (void *) param_1, (int) param_2, (void *) param_3, (int) param_4);
+    return (jint) (* p_nbridge_XSetDashes)((void *) param_0, (void *) param_1, (int) param_2, (void *) param_3, (int) param_4);
 }
 
-int (* pXSetWMHints) (void *, long, void *) = NULL;
+int (* p_nbridge_XSetWMHints) (void *, long, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetWMHints( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXSetWMHints == NULL) {
-        pXSetWMHints = (int (*) (void *, long, void *)) FindFunction(libX11, "XSetWMHints");
+    if (p_nbridge_XSetWMHints == NULL) {
+        p_nbridge_XSetWMHints = (int (*) (void *, long, void *)) FindFunction(libX11, "XSetWMHints");
     }
-    return (jint) (* pXSetWMHints)((void *) param_0, (long) param_1, (void *) param_2);
+    return (jint) (* p_nbridge_XSetWMHints)((void *) param_0, (long) param_1, (void *) param_2);
 }
 
-int (* pXPending) (void *) = NULL;
+int (* p_nbridge_XPending) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XPending( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXPending == NULL) {
-        pXPending = (int (*) (void *)) FindFunction(libX11, "XPending");
+    if (p_nbridge_XPending == NULL) {
+        p_nbridge_XPending = (int (*) (void *)) FindFunction(libX11, "XPending");
     }
-    return (jint) (* pXPending)((void *) param_0);
+    return (jint) (* p_nbridge_XPending)((void *) param_0);
 }
 
-long (* pXVisualIDFromVisual) (void *) = NULL;
+unsigned long  (* p_nbridge_XVisualIDFromVisual) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XVisualIDFromVisual( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXVisualIDFromVisual == NULL) {
-        pXVisualIDFromVisual = (long (*) (void *)) FindFunction(libX11, "XVisualIDFromVisual");
+    if (p_nbridge_XVisualIDFromVisual == NULL) {
+        p_nbridge_XVisualIDFromVisual = (unsigned long  (*) (void *)) FindFunction(libX11, "XVisualIDFromVisual");
     }
-    return (jlong) (* pXVisualIDFromVisual)((void *) param_0);
+    return (jlong) (* p_nbridge_XVisualIDFromVisual)((void *) param_0);
 }
 
-int (* pXSendEvent) (void *, long, int, long, void *) = NULL;
+int (* p_nbridge_XSendEvent) (void *, long, int, long, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSendEvent( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jlong param_3, jlong param_4) {
-    if (pXSendEvent == NULL) {
-        pXSendEvent = (int (*) (void *, long, int, long, void *)) FindFunction(libX11, "XSendEvent");
+    if (p_nbridge_XSendEvent == NULL) {
+        p_nbridge_XSendEvent = (int (*) (void *, long, int, long, void *)) FindFunction(libX11, "XSendEvent");
     }
-    return (jint) (* pXSendEvent)((void *) param_0, (long) param_1, (int) param_2, (long) param_3, (void *) param_4);
+    return (jint) (* p_nbridge_XSendEvent)((void *) param_0, (long) param_1, (int) param_2, (long) param_3, (void *) param_4);
 }
 
-int (* pXDrawLine) (void *, long, void *, int, int, int, int) = NULL;
+int (* p_nbridge_XDrawLine) (void *, long, void *, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDrawLine( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3, jint param_4, jint param_5, jint param_6) {
-    if (pXDrawLine == NULL) {
-        pXDrawLine = (int (*) (void *, long, void *, int, int, int, int)) FindFunction(libX11, "XDrawLine");
+    if (p_nbridge_XDrawLine == NULL) {
+        p_nbridge_XDrawLine = (int (*) (void *, long, void *, int, int, int, int)) FindFunction(libX11, "XDrawLine");
     }
-    return (jint) (* pXDrawLine)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6);
+    return (jint) (* p_nbridge_XDrawLine)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6);
 }
 
-long (* pXCreatePixmap) (void *, long, int, int, int) = NULL;
+unsigned long  (* p_nbridge_XCreatePixmap) (void *, long, int, int, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCreatePixmap( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jint param_4) {
-    if (pXCreatePixmap == NULL) {
-        pXCreatePixmap = (long (*) (void *, long, int, int, int)) FindFunction(libX11, "XCreatePixmap");
+    if (p_nbridge_XCreatePixmap == NULL) {
+        p_nbridge_XCreatePixmap = (unsigned long  (*) (void *, long, int, int, int)) FindFunction(libX11, "XCreatePixmap");
     }
-    return (jlong) (* pXCreatePixmap)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4);
+    return (jlong) (* p_nbridge_XCreatePixmap)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4);
 }
 
-int (* pXDefineCursor) (void *, long, long) = NULL;
+int (* p_nbridge_XDefineCursor) (void *, long, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDefineCursor( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXDefineCursor == NULL) {
-        pXDefineCursor = (int (*) (void *, long, long)) FindFunction(libX11, "XDefineCursor");
+    if (p_nbridge_XDefineCursor == NULL) {
+        p_nbridge_XDefineCursor = (int (*) (void *, long, long)) FindFunction(libX11, "XDefineCursor");
     }
-    return (jint) (* pXDefineCursor)((void *) param_0, (long) param_1, (long) param_2);
+    return (jint) (* p_nbridge_XDefineCursor)((void *) param_0, (long) param_1, (long) param_2);
 }
 
-int (* pXDrawLines) (void *, long, void *, void *, int, int) = NULL;
+int (* p_nbridge_XDrawLines) (void *, long, void *, void *, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDrawLines( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jint param_4, jint param_5) {
-    if (pXDrawLines == NULL) {
-        pXDrawLines = (int (*) (void *, long, void *, void *, int, int)) FindFunction(libX11, "XDrawLines");
+    if (p_nbridge_XDrawLines == NULL) {
+        p_nbridge_XDrawLines = (int (*) (void *, long, void *, void *, int, int)) FindFunction(libX11, "XDrawLines");
     }
-    return (jint) (* pXDrawLines)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (int) param_4, (int) param_5);
+    return (jint) (* p_nbridge_XDrawLines)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (int) param_4, (int) param_5);
 }
 
-void (* pXSetWMNormalHints) (void *, long, void *) = NULL;
+void (* p_nbridge_XSetWMNormalHints) (void *, long, void *) = NULL;
 
 JNIEXPORT void  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetWMNormalHints( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXSetWMNormalHints == NULL) {
-        pXSetWMNormalHints = (void (*) (void *, long, void *)) FindFunction(libX11, "XSetWMNormalHints");
+    if (p_nbridge_XSetWMNormalHints == NULL) {
+        p_nbridge_XSetWMNormalHints = (void (*) (void *, long, void *)) FindFunction(libX11, "XSetWMNormalHints");
     }
-    (* pXSetWMNormalHints)((void *) param_0, (long) param_1, (void *) param_2);
+    (* p_nbridge_XSetWMNormalHints)((void *) param_0, (long) param_1, (void *) param_2);
 }
 
-int (* pXTranslateCoordinates) (void *, long, long, int, int, void *, void *, void *) = NULL;
+int (* p_nbridge_XTranslateCoordinates) (void *, long, long, int, int, void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XTranslateCoordinates( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3, jint param_4, jlong param_5, jlong param_6, jlong param_7) {
-    if (pXTranslateCoordinates == NULL) {
-        pXTranslateCoordinates = (int (*) (void *, long, long, int, int, void *, void *, void *)) FindFunction(libX11, "XTranslateCoordinates");
+    if (p_nbridge_XTranslateCoordinates == NULL) {
+        p_nbridge_XTranslateCoordinates = (int (*) (void *, long, long, int, int, void *, void *, void *)) FindFunction(libX11, "XTranslateCoordinates");
     }
-    return (jint) (* pXTranslateCoordinates)((void *) param_0, (long) param_1, (long) param_2, (int) param_3, (int) param_4, (void *) param_5, (void *) param_6, (void *) param_7);
+    return (jint) (* p_nbridge_XTranslateCoordinates)((void *) param_0, (long) param_1, (long) param_2, (int) param_3, (int) param_4, (void *) param_5, (void *) param_6, (void *) param_7);
 }
 
-int (* pXSetStandardProperties) (void *, long, void *, void *, long, void *, int, void *) = NULL;
+int (* p_nbridge_XSetStandardProperties) (void *, long, void *, void *, long, void *, int, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetStandardProperties( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4, jlong param_5, jint param_6, jlong param_7) {
-    if (pXSetStandardProperties == NULL) {
-        pXSetStandardProperties = (int (*) (void *, long, void *, void *, long, void *, int, void *)) FindFunction(libX11, "XSetStandardProperties");
+    if (p_nbridge_XSetStandardProperties == NULL) {
+        p_nbridge_XSetStandardProperties = (int (*) (void *, long, void *, void *, long, void *, int, void *)) FindFunction(libX11, "XSetStandardProperties");
     }
-    return (jint) (* pXSetStandardProperties)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (long) param_4, (void *) param_5, (int) param_6, (void *) param_7);
+    return (jint) (* p_nbridge_XSetStandardProperties)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (long) param_4, (void *) param_5, (int) param_6, (void *) param_7);
 }
 
-long (* pXDefaultColormap) (void *, int) = NULL;
+unsigned long  (* p_nbridge_XDefaultColormap) (void *, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDefaultColormap( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXDefaultColormap == NULL) {
-        pXDefaultColormap = (long (*) (void *, int)) FindFunction(libX11, "XDefaultColormap");
+    if (p_nbridge_XDefaultColormap == NULL) {
+        p_nbridge_XDefaultColormap = (unsigned long  (*) (void *, int)) FindFunction(libX11, "XDefaultColormap");
     }
-    return (jlong) (* pXDefaultColormap)((void *) param_0, (int) param_1);
+    return (jlong) (* p_nbridge_XDefaultColormap)((void *) param_0, (int) param_1);
 }
 
-void * (* pXAllocSizeHints) (void) = NULL;
+void * (* p_nbridge_XAllocSizeHints) (void) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XAllocSizeHints( JNIEnv *env, jobject self) {
-    if (pXAllocSizeHints == NULL) {
-        pXAllocSizeHints = (void * (*) (void)) FindFunction(libX11, "XAllocSizeHints");
+    if (p_nbridge_XAllocSizeHints == NULL) {
+        p_nbridge_XAllocSizeHints = (void * (*) (void)) FindFunction(libX11, "XAllocSizeHints");
     }
-    return (jlong) (* pXAllocSizeHints)();
+    return (jlong) (* p_nbridge_XAllocSizeHints)();
 }
 
-int (* pXFlush) (void *) = NULL;
+int (* p_nbridge_XFlush) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFlush( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXFlush == NULL) {
-        pXFlush = (int (*) (void *)) FindFunction(libX11, "XFlush");
+    if (p_nbridge_XFlush == NULL) {
+        p_nbridge_XFlush = (int (*) (void *)) FindFunction(libX11, "XFlush");
     }
-    return (jint) (* pXFlush)((void *) param_0);
+    return (jint) (* p_nbridge_XFlush)((void *) param_0);
 }
 
-int (* pXGetWindowAttributes) (void *, long, void *) = NULL;
+int (* p_nbridge_XGetWindowAttributes) (void *, long, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetWindowAttributes( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXGetWindowAttributes == NULL) {
-        pXGetWindowAttributes = (int (*) (void *, long, void *)) FindFunction(libX11, "XGetWindowAttributes");
+    if (p_nbridge_XGetWindowAttributes == NULL) {
+        p_nbridge_XGetWindowAttributes = (int (*) (void *, long, void *)) FindFunction(libX11, "XGetWindowAttributes");
     }
-    return (jint) (* pXGetWindowAttributes)((void *) param_0, (long) param_1, (void *) param_2);
+    return (jint) (* p_nbridge_XGetWindowAttributes)((void *) param_0, (long) param_1, (void *) param_2);
 }
 
-int (* pXFreePixmap) (void *, long) = NULL;
+int (* p_nbridge_XFreePixmap) (void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFreePixmap( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXFreePixmap == NULL) {
-        pXFreePixmap = (int (*) (void *, long)) FindFunction(libX11, "XFreePixmap");
+    if (p_nbridge_XFreePixmap == NULL) {
+        p_nbridge_XFreePixmap = (int (*) (void *, long)) FindFunction(libX11, "XFreePixmap");
     }
-    return (jint) (* pXFreePixmap)((void *) param_0, (long) param_1);
+    return (jint) (* p_nbridge_XFreePixmap)((void *) param_0, (long) param_1);
 }
 
-int (* pXGetGeometry) (void *, long, void *, void *, void *, void *, void *, void *, void *) = NULL;
+int (* p_nbridge_XGetGeometry) (void *, long, void *, void *, void *, void *, void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetGeometry( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4, jlong param_5, jlong param_6, jlong param_7, jlong param_8) {
-    if (pXGetGeometry == NULL) {
-        pXGetGeometry = (int (*) (void *, long, void *, void *, void *, void *, void *, void *, void *)) FindFunction(libX11, "XGetGeometry");
+    if (p_nbridge_XGetGeometry == NULL) {
+        p_nbridge_XGetGeometry = (int (*) (void *, long, void *, void *, void *, void *, void *, void *, void *)) FindFunction(libX11, "XGetGeometry");
     }
-    return (jint) (* pXGetGeometry)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (void *) param_4, (void *) param_5, (void *) param_6, (void *) param_7, (void *) param_8);
+    return (jint) (* p_nbridge_XGetGeometry)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (void *) param_4, (void *) param_5, (void *) param_6, (void *) param_7, (void *) param_8);
 }
 
-int (* pXQueryColors) (void *, long, void *, int) = NULL;
+int (* p_nbridge_XQueryColors) (void *, long, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XQueryColors( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3) {
-    if (pXQueryColors == NULL) {
-        pXQueryColors = (int (*) (void *, long, void *, int)) FindFunction(libX11, "XQueryColors");
+    if (p_nbridge_XQueryColors == NULL) {
+        p_nbridge_XQueryColors = (int (*) (void *, long, void *, int)) FindFunction(libX11, "XQueryColors");
     }
-    return (jint) (* pXQueryColors)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3);
+    return (jint) (* p_nbridge_XQueryColors)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3);
 }
 
-int (* pXQueryBestCursor) (void *, long, int, int, void *, void *) = NULL;
+int (* p_nbridge_XQueryBestCursor) (void *, long, int, int, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XQueryBestCursor( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jlong param_4, jlong param_5) {
-    if (pXQueryBestCursor == NULL) {
-        pXQueryBestCursor = (int (*) (void *, long, int, int, void *, void *)) FindFunction(libX11, "XQueryBestCursor");
+    if (p_nbridge_XQueryBestCursor == NULL) {
+        p_nbridge_XQueryBestCursor = (int (*) (void *, long, int, int, void *, void *)) FindFunction(libX11, "XQueryBestCursor");
     }
-    return (jint) (* pXQueryBestCursor)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (void *) param_4, (void *) param_5);
+    return (jint) (* p_nbridge_XQueryBestCursor)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (void *) param_4, (void *) param_5);
 }
 
-int (* pXNextEvent) (void *, void *) = NULL;
+int (* p_nbridge_XNextEvent) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XNextEvent( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXNextEvent == NULL) {
-        pXNextEvent = (int (*) (void *, void *)) FindFunction(libX11, "XNextEvent");
+    if (p_nbridge_XNextEvent == NULL) {
+        p_nbridge_XNextEvent = (int (*) (void *, void *)) FindFunction(libX11, "XNextEvent");
     }
-    return (jint) (* pXNextEvent)((void *) param_0, (void *) param_1);
+    return (jint) (* p_nbridge_XNextEvent)((void *) param_0, (void *) param_1);
 }
 
-void * (* pXDefaultVisual) (void *, int) = NULL;
+void * (* p_nbridge_XDefaultVisual) (void *, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XDefaultVisual( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXDefaultVisual == NULL) {
-        pXDefaultVisual = (void * (*) (void *, int)) FindFunction(libX11, "XDefaultVisual");
+    if (p_nbridge_XDefaultVisual == NULL) {
+        p_nbridge_XDefaultVisual = (void * (*) (void *, int)) FindFunction(libX11, "XDefaultVisual");
     }
-    return (jlong) (* pXDefaultVisual)((void *) param_0, (int) param_1);
+    return (jlong) (* p_nbridge_XDefaultVisual)((void *) param_0, (int) param_1);
 }
 
-long (* pXCreateWindow) (void *, long, int, int, int, int, int, int, int, void *, long, void *) = NULL;
+unsigned long  (* p_nbridge_XCreateWindow) (void *, long, int, int, int, int, int, int, int, void *, long, void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCreateWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jint param_4, jint param_5, jint param_6, jint param_7, jint param_8, jlong param_9, jlong param_10, jlong param_11) {
-    if (pXCreateWindow == NULL) {
-        pXCreateWindow = (long (*) (void *, long, int, int, int, int, int, int, int, void *, long, void *)) FindFunction(libX11, "XCreateWindow");
+    if (p_nbridge_XCreateWindow == NULL) {
+        p_nbridge_XCreateWindow = (unsigned long  (*) (void *, long, int, int, int, int, int, int, int, void *, long, void *)) FindFunction(libX11, "XCreateWindow");
     }
-    return (jlong) (* pXCreateWindow)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8, (void *) param_9, (long) param_10, (void *) param_11);
+    return (jlong) (* p_nbridge_XCreateWindow)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8, (void *) param_9, (long) param_10, (void *) param_11);
 }
 
-int (* pXFreeGC) (void *, void *) = NULL;
+int (* p_nbridge_XFreeGC) (void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFreeGC( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXFreeGC == NULL) {
-        pXFreeGC = (int (*) (void *, void *)) FindFunction(libX11, "XFreeGC");
+    if (p_nbridge_XFreeGC == NULL) {
+        p_nbridge_XFreeGC = (int (*) (void *, void *)) FindFunction(libX11, "XFreeGC");
     }
-    return (jint) (* pXFreeGC)((void *) param_0, (void *) param_1);
+    return (jint) (* p_nbridge_XFreeGC)((void *) param_0, (void *) param_1);
 }
 
-int (* pXBitmapPad) (void *) = NULL;
+int (* p_nbridge_XBitmapPad) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XBitmapPad( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXBitmapPad == NULL) {
-        pXBitmapPad = (int (*) (void *)) FindFunction(libX11, "XBitmapPad");
+    if (p_nbridge_XBitmapPad == NULL) {
+        p_nbridge_XBitmapPad = (int (*) (void *)) FindFunction(libX11, "XBitmapPad");
+    }
+    return (jint) (* p_nbridge_XBitmapPad)((void *) param_0);
+}
+
+unsigned long  (* p_nbridge_XCreateColormap) (void *, long, void *, int) = NULL;
+
+JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCreateColormap( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3) {
+    if (p_nbridge_XCreateColormap == NULL) {
+        p_nbridge_XCreateColormap = (unsigned long  (*) (void *, long, void *, int)) FindFunction(libX11, "XCreateColormap");
     }
-    return (jint) (* pXBitmapPad)((void *) param_0);
+    return (jlong) (* p_nbridge_XCreateColormap)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3);
 }
 
-int (* pXGetPointerMapping) (void *, void *, int) = NULL;
+int (* p_nbridge_XGetPointerMapping) (void *, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetPointerMapping( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2) {
-    if (pXGetPointerMapping == NULL) {
-        pXGetPointerMapping = (int (*) (void *, void *, int)) FindFunction(libX11, "XGetPointerMapping");
+    if (p_nbridge_XGetPointerMapping == NULL) {
+        p_nbridge_XGetPointerMapping = (int (*) (void *, void *, int)) FindFunction(libX11, "XGetPointerMapping");
     }
-    return (jint) (* pXGetPointerMapping)((void *) param_0, (void *) param_1, (int) param_2);
+    return (jint) (* p_nbridge_XGetPointerMapping)((void *) param_0, (void *) param_1, (int) param_2);
 }
 
-void * (* pXSetErrorHandler) (void *) = NULL;
+void * (* p_nbridge_XSetErrorHandler) (void *) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetErrorHandler( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXSetErrorHandler == NULL) {
-        pXSetErrorHandler = (void * (*) (void *)) FindFunction(libX11, "XSetErrorHandler");
+    if (p_nbridge_XSetErrorHandler == NULL) {
+        p_nbridge_XSetErrorHandler = (void * (*) (void *)) FindFunction(libX11, "XSetErrorHandler");
     }
-    return (jlong) (* pXSetErrorHandler)((void *) param_0);
+    return (jlong) (* p_nbridge_XSetErrorHandler)((void *) param_0);
 }
 
-int (* pXSetTransientForHint) (void *, long, long) = NULL;
+int (* p_nbridge_XSetTransientForHint) (void *, long, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetTransientForHint( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXSetTransientForHint == NULL) {
-        pXSetTransientForHint = (int (*) (void *, long, long)) FindFunction(libX11, "XSetTransientForHint");
+    if (p_nbridge_XSetTransientForHint == NULL) {
+        p_nbridge_XSetTransientForHint = (int (*) (void *, long, long)) FindFunction(libX11, "XSetTransientForHint");
     }
-    return (jint) (* pXSetTransientForHint)((void *) param_0, (long) param_1, (long) param_2);
+    return (jint) (* p_nbridge_XSetTransientForHint)((void *) param_0, (long) param_1, (long) param_2);
 }
 
-int (* pXFreeCursor) (void *, long) = NULL;
+int (* p_nbridge_XFreeCursor) (void *, long) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFreeCursor( JNIEnv *env, jobject self, jlong param_0, jlong param_1) {
-    if (pXFreeCursor == NULL) {
-        pXFreeCursor = (int (*) (void *, long)) FindFunction(libX11, "XFreeCursor");
+    if (p_nbridge_XFreeCursor == NULL) {
+        p_nbridge_XFreeCursor = (int (*) (void *, long)) FindFunction(libX11, "XFreeCursor");
     }
-    return (jint) (* pXFreeCursor)((void *) param_0, (long) param_1);
+    return (jint) (* p_nbridge_XFreeCursor)((void *) param_0, (long) param_1);
 }
 
-int (* pXFillRectangle) (void *, long, void *, int, int, int, int) = NULL;
+int (* p_nbridge_XFillRectangle) (void *, long, void *, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFillRectangle( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3, jint param_4, jint param_5, jint param_6) {
-    if (pXFillRectangle == NULL) {
-        pXFillRectangle = (int (*) (void *, long, void *, int, int, int, int)) FindFunction(libX11, "XFillRectangle");
+    if (p_nbridge_XFillRectangle == NULL) {
+        p_nbridge_XFillRectangle = (int (*) (void *, long, void *, int, int, int, int)) FindFunction(libX11, "XFillRectangle");
     }
-    return (jint) (* pXFillRectangle)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6);
+    return (jint) (* p_nbridge_XFillRectangle)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6);
 }
 
-int (* pXSetWMProtocols) (void *, long, void *, int) = NULL;
+int (* p_nbridge_XSetWMProtocols) (void *, long, void *, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetWMProtocols( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3) {
-    if (pXSetWMProtocols == NULL) {
-        pXSetWMProtocols = (int (*) (void *, long, void *, int)) FindFunction(libX11, "XSetWMProtocols");
+    if (p_nbridge_XSetWMProtocols == NULL) {
+        p_nbridge_XSetWMProtocols = (int (*) (void *, long, void *, int)) FindFunction(libX11, "XSetWMProtocols");
     }
-    return (jint) (* pXSetWMProtocols)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3);
+    return (jint) (* p_nbridge_XSetWMProtocols)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3);
 }
 
-int (* pXCloseDisplay) (void *) = NULL;
+int (* p_nbridge_XCloseDisplay) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCloseDisplay( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXCloseDisplay == NULL) {
-        pXCloseDisplay = (int (*) (void *)) FindFunction(libX11, "XCloseDisplay");
+    if (p_nbridge_XCloseDisplay == NULL) {
+        p_nbridge_XCloseDisplay = (int (*) (void *)) FindFunction(libX11, "XCloseDisplay");
     }
-    return (jint) (* pXCloseDisplay)((void *) param_0);
+    return (jint) (* p_nbridge_XCloseDisplay)((void *) param_0);
 }
 
-int (* pXQueryTree) (void *, long, void *, void *, void *, void *) = NULL;
+int (* p_nbridge_XQueryTree) (void *, long, void *, void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XQueryTree( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4, jlong param_5) {
-    if (pXQueryTree == NULL) {
-        pXQueryTree = (int (*) (void *, long, void *, void *, void *, void *)) FindFunction(libX11, "XQueryTree");
+    if (p_nbridge_XQueryTree == NULL) {
+        p_nbridge_XQueryTree = (int (*) (void *, long, void *, void *, void *, void *)) FindFunction(libX11, "XQueryTree");
     }
-    return (jint) (* pXQueryTree)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (void *) param_4, (void *) param_5);
+    return (jint) (* p_nbridge_XQueryTree)((void *) param_0, (long) param_1, (void *) param_2, (void *) param_3, (void *) param_4, (void *) param_5);
 }
 
-int (* pXGetInputFocus) (void *, void *, void *) = NULL;
+int (* p_nbridge_XGetInputFocus) (void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XGetInputFocus( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2) {
-    if (pXGetInputFocus == NULL) {
-        pXGetInputFocus = (int (*) (void *, void *, void *)) FindFunction(libX11, "XGetInputFocus");
+    if (p_nbridge_XGetInputFocus == NULL) {
+        p_nbridge_XGetInputFocus = (int (*) (void *, void *, void *)) FindFunction(libX11, "XGetInputFocus");
     }
-    return (jint) (* pXGetInputFocus)((void *) param_0, (void *) param_1, (void *) param_2);
+    return (jint) (* p_nbridge_XGetInputFocus)((void *) param_0, (void *) param_1, (void *) param_2);
 }
 
-long (* pXInternAtom) (void *, void *, int) = NULL;
+unsigned long  (* p_nbridge_XInternAtom) (void *, void *, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XInternAtom( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2) {
-    if (pXInternAtom == NULL) {
-        pXInternAtom = (long (*) (void *, void *, int)) FindFunction(libX11, "XInternAtom");
+    if (p_nbridge_XInternAtom == NULL) {
+        p_nbridge_XInternAtom = (unsigned long  (*) (void *, void *, int)) FindFunction(libX11, "XInternAtom");
     }
-    return (jlong) (* pXInternAtom)((void *) param_0, (void *) param_1, (int) param_2);
+    return (jlong) (* p_nbridge_XInternAtom)((void *) param_0, (void *) param_1, (int) param_2);
 }
 
-int (* pXSetClipOrigin) (void *, void *, int, int) = NULL;
+int (* p_nbridge_XSetClipOrigin) (void *, void *, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XSetClipOrigin( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3) {
-    if (pXSetClipOrigin == NULL) {
-        pXSetClipOrigin = (int (*) (void *, void *, int, int)) FindFunction(libX11, "XSetClipOrigin");
+    if (p_nbridge_XSetClipOrigin == NULL) {
+        p_nbridge_XSetClipOrigin = (int (*) (void *, void *, int, int)) FindFunction(libX11, "XSetClipOrigin");
     }
-    return (jint) (* pXSetClipOrigin)((void *) param_0, (void *) param_1, (int) param_2, (int) param_3);
+    return (jint) (* p_nbridge_XSetClipOrigin)((void *) param_0, (void *) param_1, (int) param_2, (int) param_3);
 }
 
-int (* pXTestQueryExtension) (void *, void *, void *, void *, void *) = NULL;
+int (* p_nbridge_XTestQueryExtension) (void *, void *, void *, void *, void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XTestQueryExtension( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jlong param_3, jlong param_4) {
-    if (pXTestQueryExtension == NULL) {
-        pXTestQueryExtension = (int (*) (void *, void *, void *, void *, void *)) FindFunction(libXtst, "XTestQueryExtension");
+    if (p_nbridge_XTestQueryExtension == NULL) {
+        p_nbridge_XTestQueryExtension = (int (*) (void *, void *, void *, void *, void *)) FindFunction(libXtst, "XTestQueryExtension");
     }
-    return (jint) (* pXTestQueryExtension)((void *) param_0, (void *) param_1, (void *) param_2, (void *) param_3, (void *) param_4);
+    return (jint) (* p_nbridge_XTestQueryExtension)((void *) param_0, (void *) param_1, (void *) param_2, (void *) param_3, (void *) param_4);
 }
 
-long (* pXCreateSimpleWindow) (void *, long, int, int, int, int, int, long, long) = NULL;
+unsigned long  (* p_nbridge_XCreateSimpleWindow) (void *, long, int, int, int, int, int, long, long) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XCreateSimpleWindow( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jint param_2, jint param_3, jint param_4, jint param_5, jint param_6, jlong param_7, jlong param_8) {
-    if (pXCreateSimpleWindow == NULL) {
-        pXCreateSimpleWindow = (long (*) (void *, long, int, int, int, int, int, long, long)) FindFunction(libX11, "XCreateSimpleWindow");
+    if (p_nbridge_XCreateSimpleWindow == NULL) {
+        p_nbridge_XCreateSimpleWindow = (unsigned long  (*) (void *, long, int, int, int, int, int, long, long)) FindFunction(libX11, "XCreateSimpleWindow");
     }
-    return (jlong) (* pXCreateSimpleWindow)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6, (long) param_7, (long) param_8);
+    return (jlong) (* p_nbridge_XCreateSimpleWindow)((void *) param_0, (long) param_1, (int) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6, (long) param_7, (long) param_8);
 }
 
-int (* pXUngrabServer) (void *) = NULL;
+int (* p_nbridge_XUngrabServer) (void *) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XUngrabServer( JNIEnv *env, jobject self, jlong param_0) {
-    if (pXUngrabServer == NULL) {
-        pXUngrabServer = (int (*) (void *)) FindFunction(libX11, "XUngrabServer");
+    if (p_nbridge_XUngrabServer == NULL) {
+        p_nbridge_XUngrabServer = (int (*) (void *)) FindFunction(libX11, "XUngrabServer");
     }
-    return (jint) (* pXUngrabServer)((void *) param_0);
+    return (jint) (* p_nbridge_XUngrabServer)((void *) param_0);
 }
 
-int (* pXFillArc) (void *, long, void *, int, int, int, int, int, int) = NULL;
+int (* p_nbridge_XFillArc) (void *, long, void *, int, int, int, int, int, int) = NULL;
 
 JNIEXPORT jint  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XFillArc( JNIEnv *env, jobject self, jlong param_0, jlong param_1, jlong param_2, jint param_3, jint param_4, jint param_5, jint param_6, jint param_7, jint param_8) {
-    if (pXFillArc == NULL) {
-        pXFillArc = (int (*) (void *, long, void *, int, int, int, int, int, int)) FindFunction(libX11, "XFillArc");
+    if (p_nbridge_XFillArc == NULL) {
+        p_nbridge_XFillArc = (int (*) (void *, long, void *, int, int, int, int, int, int)) FindFunction(libX11, "XFillArc");
     }
-    return (jint) (* pXFillArc)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8);
+    return (jint) (* p_nbridge_XFillArc)((void *) param_0, (long) param_1, (void *) param_2, (int) param_3, (int) param_4, (int) param_5, (int) param_6, (int) param_7, (int) param_8);
 }
 
-void * (* pXScreenOfDisplay) (void *, int) = NULL;
+void * (* p_nbridge_XScreenOfDisplay) (void *, int) = NULL;
 
 JNIEXPORT jlong  JNICALL Java_org_apache_harmony_awt_nativebridge_linux_X11_XScreenOfDisplay( JNIEnv *env, jobject self, jlong param_0, jint param_1) {
-    if (pXScreenOfDisplay == NULL) {
-        pXScreenOfDisplay = (void * (*) (void *, int)) FindFunction(libX11, "XScreenOfDisplay");
+    if (p_nbridge_XScreenOfDisplay == NULL) {

[... 176 lines stripped ...]


Mime
View raw message