Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/internal/c/Xlib.d @ 113:fb3aa8075988
D2 support for the linux port.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 06 Apr 2011 21:57:23 +0200 |
parents | d5075f5226e5 |
children | 536e43f63c81 |
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/internal/c/Xlib.d Wed Mar 16 21:53:53 2011 +0900 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/internal/c/Xlib.d Wed Apr 06 21:57:23 2011 +0200 @@ -955,7 +955,8 @@ char * private_data; } version(DYNLINK){ -extern (C) int function(char *, wchar)_Xwctomb; +mixin(gshared!( +"extern (C) int function(char *, wchar)_Xwctomb; extern (C) int function(wchar *, char *, int)_Xmbtowc; extern (C) void function(char *, int, char *, int)XSetAuthorization; extern (C) void function(void *, _BCD_func__846, char *)XRemoveConnectionWatch; @@ -1365,422 +1366,425 @@ extern (C) XFontStruct * function(void *, uint)XQueryFont; extern (C) XFontStruct * function(void *, char *)XLoadQueryFont; extern (C) extern int* _Xdebug; -extern (C) int function(char *, int)_Xmblen; - +extern (C) int function(char *, int)_Xmblen;" +)); -Symbol[] symbols = [ - { "_Xwctomb", cast(void**)& _Xwctomb}, - { "_Xmbtowc", cast(void**)& _Xmbtowc}, - { "XSetAuthorization", cast(void**)& XSetAuthorization}, - { "XRemoveConnectionWatch", cast(void**)& XRemoveConnectionWatch}, - { "XAddConnectionWatch", cast(void**)& XAddConnectionWatch}, - { "XProcessInternalConnection", cast(void**)& XProcessInternalConnection}, - { "XInternalConnectionNumbers", cast(void**)& XInternalConnectionNumbers}, - { "XUnregisterIMInstantiateCallback", cast(void**)& XUnregisterIMInstantiateCallback}, - { "XRegisterIMInstantiateCallback", cast(void**)& XRegisterIMInstantiateCallback}, - { "XVaCreateNestedList", cast(void**)& XVaCreateNestedList}, - { "Xutf8LookupString", cast(void**)& Xutf8LookupString}, - { "XwcLookupString", cast(void**)& XwcLookupString}, - { "XmbLookupString", cast(void**)& XmbLookupString}, - { "XFilterEvent", cast(void**)& XFilterEvent}, - { "XIMOfIC", cast(void**)& XIMOfIC}, - { "XGetICValues", cast(void**)& XGetICValues}, - { "XSetICValues", cast(void**)& XSetICValues}, - { "Xutf8ResetIC", cast(void**)& Xutf8ResetIC}, - { "XmbResetIC", cast(void**)& XmbResetIC}, - { "XwcResetIC", cast(void**)& XwcResetIC}, - { "XUnsetICFocus", cast(void**)& XUnsetICFocus}, - { "XSetICFocus", cast(void**)& XSetICFocus}, - { "XDestroyIC", cast(void**)& XDestroyIC}, - { "XCreateIC", cast(void**)& XCreateIC}, - { "XLocaleOfIM", cast(void**)& XLocaleOfIM}, - { "XDisplayOfIM", cast(void**)& XDisplayOfIM}, - { "XSetIMValues", cast(void**)& XSetIMValues}, - { "XGetIMValues", cast(void**)& XGetIMValues}, - { "XCloseIM", cast(void**)& XCloseIM}, - { "XOpenIM", cast(void**)& XOpenIM}, - { "Xutf8DrawImageString", cast(void**)& Xutf8DrawImageString}, - { "XwcDrawImageString", cast(void**)& XwcDrawImageString}, - { "XmbDrawImageString", cast(void**)& XmbDrawImageString}, - { "Xutf8DrawString", cast(void**)& Xutf8DrawString}, - { "XwcDrawString", cast(void**)& XwcDrawString}, - { "XmbDrawString", cast(void**)& XmbDrawString}, - { "Xutf8DrawText", cast(void**)& Xutf8DrawText}, - { "XwcDrawText", cast(void**)& XwcDrawText}, - { "XmbDrawText", cast(void**)& XmbDrawText}, - { "Xutf8TextPerCharExtents", cast(void**)& Xutf8TextPerCharExtents}, - { "XwcTextPerCharExtents", cast(void**)& XwcTextPerCharExtents}, - { "XmbTextPerCharExtents", cast(void**)& XmbTextPerCharExtents}, - { "Xutf8TextExtents", cast(void**)& Xutf8TextExtents}, - { "XwcTextExtents", cast(void**)& XwcTextExtents}, - { "XmbTextExtents", cast(void**)& XmbTextExtents}, - { "Xutf8TextEscapement", cast(void**)& Xutf8TextEscapement}, - { "XwcTextEscapement", cast(void**)& XwcTextEscapement}, - { "XmbTextEscapement", cast(void**)& XmbTextEscapement}, - { "XExtentsOfFontSet", cast(void**)& XExtentsOfFontSet}, - { "XContextualDrawing", cast(void**)& XContextualDrawing}, - { "XDirectionalDependentDrawing", cast(void**)& XDirectionalDependentDrawing}, - { "XContextDependentDrawing", cast(void**)& XContextDependentDrawing}, - { "XLocaleOfFontSet", cast(void**)& XLocaleOfFontSet}, - { "XBaseFontNameListOfFontSet", cast(void**)& XBaseFontNameListOfFontSet}, - { "XFontsOfFontSet", cast(void**)& XFontsOfFontSet}, - { "XFreeFontSet", cast(void**)& XFreeFontSet}, - { "XCreateFontSet", cast(void**)& XCreateFontSet}, - { "XGetOCValues", cast(void**)& XGetOCValues}, - { "XSetOCValues", cast(void**)& XSetOCValues}, - { "XOMOfOC", cast(void**)& XOMOfOC}, - { "XDestroyOC", cast(void**)& XDestroyOC}, - { "XCreateOC", cast(void**)& XCreateOC}, - { "XLocaleOfOM", cast(void**)& XLocaleOfOM}, - { "XDisplayOfOM", cast(void**)& XDisplayOfOM}, - { "XGetOMValues", cast(void**)& XGetOMValues}, - { "XSetOMValues", cast(void**)& XSetOMValues}, - { "XCloseOM", cast(void**)& XCloseOM}, - { "XOpenOM", cast(void**)& XOpenOM}, - { "XSetLocaleModifiers", cast(void**)& XSetLocaleModifiers}, - { "XSupportsLocale", cast(void**)& XSupportsLocale}, - { "XWriteBitmapFile", cast(void**)& XWriteBitmapFile}, - { "XWindowEvent", cast(void**)& XWindowEvent}, - { "XWidthOfScreen", cast(void**)& XWidthOfScreen}, - { "XWidthMMOfScreen", cast(void**)& XWidthMMOfScreen}, - { "XWarpPointer", cast(void**)& XWarpPointer}, - { "XVendorRelease", cast(void**)& XVendorRelease}, - { "XUnmapWindow", cast(void**)& XUnmapWindow}, - { "XUnmapSubwindows", cast(void**)& XUnmapSubwindows}, - { "XUnloadFont", cast(void**)& XUnloadFont}, - { "XUninstallColormap", cast(void**)& XUninstallColormap}, - { "XUngrabServer", cast(void**)& XUngrabServer}, - { "XUngrabPointer", cast(void**)& XUngrabPointer}, - { "XUngrabKeyboard", cast(void**)& XUngrabKeyboard}, - { "XUngrabKey", cast(void**)& XUngrabKey}, - { "XUngrabButton", cast(void**)& XUngrabButton}, - { "XUndefineCursor", cast(void**)& XUndefineCursor}, - { "XTranslateCoordinates", cast(void**)& XTranslateCoordinates}, - { "XTextWidth16", cast(void**)& XTextWidth16}, - { "XTextWidth", cast(void**)& XTextWidth}, - { "XTextExtents16", cast(void**)& XTextExtents16}, - { "XTextExtents", cast(void**)& XTextExtents}, - { "XSync", cast(void**)& XSync}, - { "XStoreNamedColor", cast(void**)& XStoreNamedColor}, - { "XStoreName", cast(void**)& XStoreName}, - { "XStoreColors", cast(void**)& XStoreColors}, - { "XStoreColor", cast(void**)& XStoreColor}, - { "XStoreBytes", cast(void**)& XStoreBytes}, - { "XStoreBuffer", cast(void**)& XStoreBuffer}, - { "XSetWindowColormap", cast(void**)& XSetWindowColormap}, - { "XSetWindowBorderWidth", cast(void**)& XSetWindowBorderWidth}, - { "XSetWindowBorderPixmap", cast(void**)& XSetWindowBorderPixmap}, - { "XSetWindowBorder", cast(void**)& XSetWindowBorder}, - { "XSetWindowBackgroundPixmap", cast(void**)& XSetWindowBackgroundPixmap}, - { "XSetWindowBackground", cast(void**)& XSetWindowBackground}, - { "XSetTile", cast(void**)& XSetTile}, - { "XSetTSOrigin", cast(void**)& XSetTSOrigin}, - { "XSetSubwindowMode", cast(void**)& XSetSubwindowMode}, - { "XSetStipple", cast(void**)& XSetStipple}, - { "XSetState", cast(void**)& XSetState}, - { "XSetSelectionOwner", cast(void**)& XSetSelectionOwner}, - { "XSetScreenSaver", cast(void**)& XSetScreenSaver}, - { "XSetPointerMapping", cast(void**)& XSetPointerMapping}, - { "XSetPlaneMask", cast(void**)& XSetPlaneMask}, - { "XSetModifierMapping", cast(void**)& XSetModifierMapping}, - { "XSetLineAttributes", cast(void**)& XSetLineAttributes}, - { "XSetInputFocus", cast(void**)& XSetInputFocus}, - { "XSetIconName", cast(void**)& XSetIconName}, - { "XSetGraphicsExposures", cast(void**)& XSetGraphicsExposures}, - { "XSetFunction", cast(void**)& XSetFunction}, - { "XSetForeground", cast(void**)& XSetForeground}, - { "XSetFontPath", cast(void**)& XSetFontPath}, - { "XSetFont", cast(void**)& XSetFont}, - { "XSetFillStyle", cast(void**)& XSetFillStyle}, - { "XSetFillRule", cast(void**)& XSetFillRule}, - { "XSetDashes", cast(void**)& XSetDashes}, - { "XSetCommand", cast(void**)& XSetCommand}, - { "XSetCloseDownMode", cast(void**)& XSetCloseDownMode}, - { "XSetClipRectangles", cast(void**)& XSetClipRectangles}, - { "XSetClipOrigin", cast(void**)& XSetClipOrigin}, - { "XSetClipMask", cast(void**)& XSetClipMask}, - { "XSetBackground", cast(void**)& XSetBackground}, - { "XSetArcMode", cast(void**)& XSetArcMode}, - { "XSetAccessControl", cast(void**)& XSetAccessControl}, - { "XSendEvent", cast(void**)& XSendEvent}, - { "XSelectInput", cast(void**)& XSelectInput}, - { "XScreenCount", cast(void**)& XScreenCount}, - { "XRotateWindowProperties", cast(void**)& XRotateWindowProperties}, - { "XRotateBuffers", cast(void**)& XRotateBuffers}, - { "XRestackWindows", cast(void**)& XRestackWindows}, - { "XResizeWindow", cast(void**)& XResizeWindow}, - { "XResetScreenSaver", cast(void**)& XResetScreenSaver}, - { "XReparentWindow", cast(void**)& XReparentWindow}, - { "XRemoveHosts", cast(void**)& XRemoveHosts}, - { "XRemoveHost", cast(void**)& XRemoveHost}, - { "XRemoveFromSaveSet", cast(void**)& XRemoveFromSaveSet}, - { "XRefreshKeyboardMapping", cast(void**)& XRefreshKeyboardMapping}, - { "XRecolorCursor", cast(void**)& XRecolorCursor}, - { "XRebindKeysym", cast(void**)& XRebindKeysym}, - { "XReadBitmapFileData", cast(void**)& XReadBitmapFileData}, - { "XReadBitmapFile", cast(void**)& XReadBitmapFile}, - { "XRaiseWindow", cast(void**)& XRaiseWindow}, - { "XQueryTree", cast(void**)& XQueryTree}, - { "XQueryTextExtents16", cast(void**)& XQueryTextExtents16}, - { "XQueryTextExtents", cast(void**)& XQueryTextExtents}, - { "XQueryPointer", cast(void**)& XQueryPointer}, - { "XQueryKeymap", cast(void**)& XQueryKeymap}, - { "XQueryExtension", cast(void**)& XQueryExtension}, - { "XQueryColors", cast(void**)& XQueryColors}, - { "XQueryColor", cast(void**)& XQueryColor}, - { "XQueryBestTile", cast(void**)& XQueryBestTile}, - { "XQueryBestStipple", cast(void**)& XQueryBestStipple}, - { "XQueryBestSize", cast(void**)& XQueryBestSize}, - { "XQueryBestCursor", cast(void**)& XQueryBestCursor}, - { "XQLength", cast(void**)& XQLength}, - { "XPutImage", cast(void**)& XPutImage}, - { "XPutBackEvent", cast(void**)& XPutBackEvent}, - { "XProtocolVersion", cast(void**)& XProtocolVersion}, - { "XProtocolRevision", cast(void**)& XProtocolRevision}, - { "XPlanesOfScreen", cast(void**)& XPlanesOfScreen}, - { "XPending", cast(void**)& XPending}, - { "XPeekIfEvent", cast(void**)& XPeekIfEvent}, - { "XPeekEvent", cast(void**)& XPeekEvent}, - { "XParseGeometry", cast(void**)& XParseGeometry}, - { "XParseColor", cast(void**)& XParseColor}, - { "XNoOp", cast(void**)& XNoOp}, - { "XNextEvent", cast(void**)& XNextEvent}, - { "XMoveWindow", cast(void**)& XMoveWindow}, - { "XMoveResizeWindow", cast(void**)& XMoveResizeWindow}, - { "XMinCmapsOfScreen", cast(void**)& XMinCmapsOfScreen}, - { "XMaxCmapsOfScreen", cast(void**)& XMaxCmapsOfScreen}, - { "XMaskEvent", cast(void**)& XMaskEvent}, - { "XMapWindow", cast(void**)& XMapWindow}, - { "XMapSubwindows", cast(void**)& XMapSubwindows}, - { "XMapRaised", cast(void**)& XMapRaised}, - { "XLowerWindow", cast(void**)& XLowerWindow}, - { "XLookupColor", cast(void**)& XLookupColor}, - { "XKillClient", cast(void**)& XKillClient}, - { "XKeysymToKeycode", cast(void**)& XKeysymToKeycode}, - { "XInstallColormap", cast(void**)& XInstallColormap}, - { "XImageByteOrder", cast(void**)& XImageByteOrder}, - { "XIfEvent", cast(void**)& XIfEvent}, - { "XHeightOfScreen", cast(void**)& XHeightOfScreen}, - { "XHeightMMOfScreen", cast(void**)& XHeightMMOfScreen}, - { "XGrabServer", cast(void**)& XGrabServer}, - { "XGrabPointer", cast(void**)& XGrabPointer}, - { "XGrabKeyboard", cast(void**)& XGrabKeyboard}, - { "XGrabKey", cast(void**)& XGrabKey}, - { "XGrabButton", cast(void**)& XGrabButton}, - { "XGetWindowAttributes", cast(void**)& XGetWindowAttributes}, - { "XGetWindowProperty", cast(void**)& XGetWindowProperty}, - { "XGetTransientForHint", cast(void**)& XGetTransientForHint}, - { "XGetScreenSaver", cast(void**)& XGetScreenSaver}, - { "XGetPointerMapping", cast(void**)& XGetPointerMapping}, - { "XGetPointerControl", cast(void**)& XGetPointerControl}, - { "XGetKeyboardControl", cast(void**)& XGetKeyboardControl}, - { "XGetInputFocus", cast(void**)& XGetInputFocus}, - { "XGetIconName", cast(void**)& XGetIconName}, - { "XGetGeometry", cast(void**)& XGetGeometry}, - { "XGetGCValues", cast(void**)& XGetGCValues}, - { "XGetFontProperty", cast(void**)& XGetFontProperty}, - { "XGetErrorText", cast(void**)& XGetErrorText}, - { "XGetErrorDatabaseText", cast(void**)& XGetErrorDatabaseText}, - { "XGeometry", cast(void**)& XGeometry}, - { "XFreePixmap", cast(void**)& XFreePixmap}, - { "XFreeModifiermap", cast(void**)& XFreeModifiermap}, - { "XFreeGC", cast(void**)& XFreeGC}, - { "XFreeFontPath", cast(void**)& XFreeFontPath}, - { "XFreeFontNames", cast(void**)& XFreeFontNames}, - { "XFreeFontInfo", cast(void**)& XFreeFontInfo}, - { "XFreeFont", cast(void**)& XFreeFont}, - { "XFreeExtensionList", cast(void**)& XFreeExtensionList}, - { "XFreeCursor", cast(void**)& XFreeCursor}, - { "XFreeColors", cast(void**)& XFreeColors}, - { "XFreeColormap", cast(void**)& XFreeColormap}, - { "XFree", cast(void**)& XFree}, - { "XForceScreenSaver", cast(void**)& XForceScreenSaver}, - { "XFlush", cast(void**)& XFlush}, - { "XFillRectangles", cast(void**)& XFillRectangles}, - { "XFillRectangle", cast(void**)& XFillRectangle}, - { "XFillPolygon", cast(void**)& XFillPolygon}, - { "XFillArcs", cast(void**)& XFillArcs}, - { "XFillArc", cast(void**)& XFillArc}, - { "XFetchName", cast(void**)& XFetchName}, - { "XEventsQueued", cast(void**)& XEventsQueued}, - { "XEnableAccessControl", cast(void**)& XEnableAccessControl}, - { "XDrawText16", cast(void**)& XDrawText16}, - { "XDrawText", cast(void**)& XDrawText}, - { "XDrawString16", cast(void**)& XDrawString16}, - { "XDrawString", cast(void**)& XDrawString}, - { "XDrawSegments", cast(void**)& XDrawSegments}, - { "XDrawRectangles", cast(void**)& XDrawRectangles}, - { "XDrawRectangle", cast(void**)& XDrawRectangle}, - { "XDrawPoints", cast(void**)& XDrawPoints}, - { "XDrawPoint", cast(void**)& XDrawPoint}, - { "XDrawLines", cast(void**)& XDrawLines}, - { "XDrawLine", cast(void**)& XDrawLine}, - { "XDrawImageString16", cast(void**)& XDrawImageString16}, - { "XDrawImageString", cast(void**)& XDrawImageString}, - { "XDrawArcs", cast(void**)& XDrawArcs}, - { "XDrawArc", cast(void**)& XDrawArc}, - { "XDisplayWidthMM", cast(void**)& XDisplayWidthMM}, - { "XDisplayWidth", cast(void**)& XDisplayWidth}, - { "XDisplayPlanes", cast(void**)& XDisplayPlanes}, - { "XDisplayKeycodes", cast(void**)& XDisplayKeycodes}, - { "XDisplayHeightMM", cast(void**)& XDisplayHeightMM}, - { "XDisplayHeight", cast(void**)& XDisplayHeight}, - { "XDisplayCells", cast(void**)& XDisplayCells}, - { "XDisableAccessControl", cast(void**)& XDisableAccessControl}, - { "XDoesSaveUnders", cast(void**)& XDoesSaveUnders}, - { "XDoesBackingStore", cast(void**)& XDoesBackingStore}, - { "XDestroySubwindows", cast(void**)& XDestroySubwindows}, - { "XDestroyWindow", cast(void**)& XDestroyWindow}, - { "XDeleteProperty", cast(void**)& XDeleteProperty}, - { "XDefineCursor", cast(void**)& XDefineCursor}, - { "XDefaultScreen", cast(void**)& XDefaultScreen}, - { "XDefaultDepthOfScreen", cast(void**)& XDefaultDepthOfScreen}, - { "XDefaultDepth", cast(void**)& XDefaultDepth}, - { "XCopyPlane", cast(void**)& XCopyPlane}, - { "XCopyGC", cast(void**)& XCopyGC}, - { "XCopyArea", cast(void**)& XCopyArea}, - { "XConvertSelection", cast(void**)& XConvertSelection}, - { "XConnectionNumber", cast(void**)& XConnectionNumber}, - { "XConfigureWindow", cast(void**)& XConfigureWindow}, - { "XCloseDisplay", cast(void**)& XCloseDisplay}, - { "XClearWindow", cast(void**)& XClearWindow}, - { "XClearArea", cast(void**)& XClearArea}, - { "XCirculateSubwindowsUp", cast(void**)& XCirculateSubwindowsUp}, - { "XCirculateSubwindowsDown", cast(void**)& XCirculateSubwindowsDown}, - { "XCirculateSubwindows", cast(void**)& XCirculateSubwindows}, - { "XCheckWindowEvent", cast(void**)& XCheckWindowEvent}, - { "XCheckTypedWindowEvent", cast(void**)& XCheckTypedWindowEvent}, - { "XCheckTypedEvent", cast(void**)& XCheckTypedEvent}, - { "XCheckMaskEvent", cast(void**)& XCheckMaskEvent}, - { "XCheckIfEvent", cast(void**)& XCheckIfEvent}, - { "XChangeWindowAttributes", cast(void**)& XChangeWindowAttributes}, - { "XChangeSaveSet", cast(void**)& XChangeSaveSet}, - { "XChangeProperty", cast(void**)& XChangeProperty}, - { "XChangePointerControl", cast(void**)& XChangePointerControl}, - { "XChangeKeyboardMapping", cast(void**)& XChangeKeyboardMapping}, - { "XChangeKeyboardControl", cast(void**)& XChangeKeyboardControl}, - { "XChangeGC", cast(void**)& XChangeGC}, - { "XChangeActivePointerGrab", cast(void**)& XChangeActivePointerGrab}, - { "XCellsOfScreen", cast(void**)& XCellsOfScreen}, - { "XBitmapUnit", cast(void**)& XBitmapUnit}, - { "XBitmapPad", cast(void**)& XBitmapPad}, - { "XBitmapBitOrder", cast(void**)& XBitmapBitOrder}, - { "XBell", cast(void**)& XBell}, - { "XAutoRepeatOn", cast(void**)& XAutoRepeatOn}, - { "XAutoRepeatOff", cast(void**)& XAutoRepeatOff}, - { "XAllowEvents", cast(void**)& XAllowEvents}, - { "XAllocNamedColor", cast(void**)& XAllocNamedColor}, - { "XAllocColorPlanes", cast(void**)& XAllocColorPlanes}, - { "XAllocColorCells", cast(void**)& XAllocColorCells}, - { "XAllocColor", cast(void**)& XAllocColor}, - { "XAddToSaveSet", cast(void**)& XAddToSaveSet}, - { "XAddToExtensionList", cast(void**)& XAddToExtensionList}, - { "XAddHosts", cast(void**)& XAddHosts}, - { "XAddHost", cast(void**)& XAddHost}, - { "XActivateScreenSaver", cast(void**)& XActivateScreenSaver}, - { "XSetTransientForHint", cast(void**)& XSetTransientForHint}, - { "XFreeStringList", cast(void**)& XFreeStringList}, - { "XSetWMColormapWindows", cast(void**)& XSetWMColormapWindows}, - { "XGetWMColormapWindows", cast(void**)& XGetWMColormapWindows}, - { "XGetCommand", cast(void**)& XGetCommand}, - { "XWithdrawWindow", cast(void**)& XWithdrawWindow}, - { "XIconifyWindow", cast(void**)& XIconifyWindow}, - { "XSetWMProtocols", cast(void**)& XSetWMProtocols}, - { "XGetWMProtocols", cast(void**)& XGetWMProtocols}, - { "XReconfigureWMWindow", cast(void**)& XReconfigureWMWindow}, - { "XListDepths", cast(void**)& XListDepths}, - { "XListPixmapFormats", cast(void**)& XListPixmapFormats}, - { "XSetIOErrorHandler", cast(void**)& XSetIOErrorHandler}, - { "XSetErrorHandler", cast(void**)& XSetErrorHandler}, - { "XScreenNumberOfScreen", cast(void**)& XScreenNumberOfScreen}, - { "XEventMaskOfScreen", cast(void**)& XEventMaskOfScreen}, - { "XDefaultScreenOfDisplay", cast(void**)& XDefaultScreenOfDisplay}, - { "XScreenOfDisplay", cast(void**)& XScreenOfDisplay}, - { "XDisplayOfScreen", cast(void**)& XDisplayOfScreen}, - { "XDefaultColormapOfScreen", cast(void**)& XDefaultColormapOfScreen}, - { "XDefaultColormap", cast(void**)& XDefaultColormap}, - { "XDisplayString", cast(void**)& XDisplayString}, - { "XServerVendor", cast(void**)& XServerVendor}, - { "XLastKnownRequestProcessed", cast(void**)& XLastKnownRequestProcessed}, - { "XNextRequest", cast(void**)& XNextRequest}, - { "XWhitePixelOfScreen", cast(void**)& XWhitePixelOfScreen}, - { "XBlackPixelOfScreen", cast(void**)& XBlackPixelOfScreen}, - { "XAllPlanes", cast(void**)& XAllPlanes}, - { "XWhitePixel", cast(void**)& XWhitePixel}, - { "XBlackPixel", cast(void**)& XBlackPixel}, - { "XDefaultGCOfScreen", cast(void**)& XDefaultGCOfScreen}, - { "XDefaultGC", cast(void**)& XDefaultGC}, - { "XDefaultVisualOfScreen", cast(void**)& XDefaultVisualOfScreen}, - { "XDefaultVisual", cast(void**)& XDefaultVisual}, - { "XRootWindowOfScreen", cast(void**)& XRootWindowOfScreen}, - { "XDefaultRootWindow", cast(void**)& XDefaultRootWindow}, - { "XRootWindow", cast(void**)& XRootWindow}, - { "XEHeadOfExtensionList", cast(void**)& XEHeadOfExtensionList}, - { "XFindOnExtensionList", cast(void**)& XFindOnExtensionList}, - { "XAddExtension", cast(void**)& XAddExtension}, - { "XInitExtension", cast(void**)& XInitExtension}, - { "XUnlockDisplay", cast(void**)& XUnlockDisplay}, - { "XLockDisplay", cast(void**)& XLockDisplay}, - { "XInitThreads", cast(void**)& XInitThreads}, - { "XVisualIDFromVisual", cast(void**)& XVisualIDFromVisual}, - { "XDisplayMotionBufferSize", cast(void**)& XDisplayMotionBufferSize}, - { "XScreenResourceString", cast(void**)& XScreenResourceString}, - { "XResourceManagerString", cast(void**)& XResourceManagerString}, - { "XExtendedMaxRequestSize", cast(void**)& XExtendedMaxRequestSize}, - { "XMaxRequestSize", cast(void**)& XMaxRequestSize}, - { "XStringToKeysym", cast(void**)& XStringToKeysym}, - { "XGetKeyboardMapping", cast(void**)& XGetKeyboardMapping}, - { "XLookupKeysym", cast(void**)& XLookupKeysym}, - { "XKeycodeToKeysym", cast(void**)& XKeycodeToKeysym}, - { "XListHosts", cast(void**)& XListHosts}, - { "XListProperties", cast(void**)& XListProperties}, - { "XListExtensions", cast(void**)& XListExtensions}, - { "XGetFontPath", cast(void**)& XGetFontPath}, - { "XListFontsWithInfo", cast(void**)& XListFontsWithInfo}, - { "XListFonts", cast(void**)& XListFonts}, - { "XListInstalledColormaps", cast(void**)& XListInstalledColormaps}, - { "XCreateWindow", cast(void**)& XCreateWindow}, - { "XGetSelectionOwner", cast(void**)& XGetSelectionOwner}, - { "XCreateSimpleWindow", cast(void**)& XCreateSimpleWindow}, - { "XCreatePixmapFromBitmapData", cast(void**)& XCreatePixmapFromBitmapData}, - { "XCreateBitmapFromData", cast(void**)& XCreateBitmapFromData}, - { "XCreatePixmap", cast(void**)& XCreatePixmap}, - { "XFlushGC", cast(void**)& XFlushGC}, - { "XGContextFromGC", cast(void**)& XGContextFromGC}, - { "XCreateGC", cast(void**)& XCreateGC}, - { "XLoadFont", cast(void**)& XLoadFont}, - { "XCreateFontCursor", cast(void**)& XCreateFontCursor}, - { "XCreateGlyphCursor", cast(void**)& XCreateGlyphCursor}, - { "XCreatePixmapCursor", cast(void**)& XCreatePixmapCursor}, - { "XCreateColormap", cast(void**)& XCreateColormap}, - { "XCopyColormapAndFree", cast(void**)& XCopyColormapAndFree}, - { "XInternAtoms", cast(void**)& XInternAtoms}, - { "XInternAtom", cast(void**)& XInternAtom}, - { "XSetAfterFunction", cast(void**)& XSetAfterFunction}, - { "XSynchronize", cast(void**)& XSynchronize}, - { "XKeysymToString", cast(void**)& XKeysymToString}, - { "XDisplayName", cast(void**)& XDisplayName}, - { "XGetDefault", cast(void**)& XGetDefault}, - { "XGetAtomNames", cast(void**)& XGetAtomNames}, - { "XGetAtomName", cast(void**)& XGetAtomName}, - { "XFetchBuffer", cast(void**)& XFetchBuffer}, - { "XFetchBytes", cast(void**)& XFetchBytes}, - { "XrmInitialize", cast(void**)& XrmInitialize}, - { "XOpenDisplay", cast(void**)& XOpenDisplay}, - { "XGetSubImage", cast(void**)& XGetSubImage}, - { "XGetImage", cast(void**)& XGetImage}, - { "XInitImage", cast(void**)& XInitImage}, - { "XCreateImage", cast(void**)& XCreateImage}, - { "XNewModifiermap", cast(void**)& XNewModifiermap}, - { "XInsertModifiermapEntry", cast(void**)& XInsertModifiermapEntry}, - { "XGetModifierMapping", cast(void**)& XGetModifierMapping}, - { "XDeleteModifiermapEntry", cast(void**)& XDeleteModifiermapEntry}, - { "XGetMotionEvents", cast(void**)& XGetMotionEvents}, - { "XQueryFont", cast(void**)& XQueryFont}, - { "XLoadQueryFont", cast(void**)& XLoadQueryFont}, - { "_Xdebug", cast(void**)& _Xdebug}, - { "_Xmblen", cast(void**)& _Xmblen}, -]; +Symbol[] symbols; +static this () { + symbols = [ + Symbol("_Xwctomb", cast(void**)& _Xwctomb), + Symbol("_Xmbtowc", cast(void**)& _Xmbtowc), + Symbol("XSetAuthorization", cast(void**)& XSetAuthorization), + Symbol("XRemoveConnectionWatch", cast(void**)& XRemoveConnectionWatch), + Symbol("XAddConnectionWatch", cast(void**)& XAddConnectionWatch), + Symbol("XProcessInternalConnection", cast(void**)& XProcessInternalConnection), + Symbol("XInternalConnectionNumbers", cast(void**)& XInternalConnectionNumbers), + Symbol("XUnregisterIMInstantiateCallback", cast(void**)& XUnregisterIMInstantiateCallback), + Symbol("XRegisterIMInstantiateCallback", cast(void**)& XRegisterIMInstantiateCallback), + Symbol("XVaCreateNestedList", cast(void**)& XVaCreateNestedList), + Symbol("Xutf8LookupString", cast(void**)& Xutf8LookupString), + Symbol("XwcLookupString", cast(void**)& XwcLookupString), + Symbol("XmbLookupString", cast(void**)& XmbLookupString), + Symbol("XFilterEvent", cast(void**)& XFilterEvent), + Symbol("XIMOfIC", cast(void**)& XIMOfIC), + Symbol("XGetICValues", cast(void**)& XGetICValues), + Symbol("XSetICValues", cast(void**)& XSetICValues), + Symbol("Xutf8ResetIC", cast(void**)& Xutf8ResetIC), + Symbol("XmbResetIC", cast(void**)& XmbResetIC), + Symbol("XwcResetIC", cast(void**)& XwcResetIC), + Symbol("XUnsetICFocus", cast(void**)& XUnsetICFocus), + Symbol("XSetICFocus", cast(void**)& XSetICFocus), + Symbol("XDestroyIC", cast(void**)& XDestroyIC), + Symbol("XCreateIC", cast(void**)& XCreateIC), + Symbol("XLocaleOfIM", cast(void**)& XLocaleOfIM), + Symbol("XDisplayOfIM", cast(void**)& XDisplayOfIM), + Symbol("XSetIMValues", cast(void**)& XSetIMValues), + Symbol("XGetIMValues", cast(void**)& XGetIMValues), + Symbol("XCloseIM", cast(void**)& XCloseIM), + Symbol("XOpenIM", cast(void**)& XOpenIM), + Symbol("Xutf8DrawImageString", cast(void**)& Xutf8DrawImageString), + Symbol("XwcDrawImageString", cast(void**)& XwcDrawImageString), + Symbol("XmbDrawImageString", cast(void**)& XmbDrawImageString), + Symbol("Xutf8DrawString", cast(void**)& Xutf8DrawString), + Symbol("XwcDrawString", cast(void**)& XwcDrawString), + Symbol("XmbDrawString", cast(void**)& XmbDrawString), + Symbol("Xutf8DrawText", cast(void**)& Xutf8DrawText), + Symbol("XwcDrawText", cast(void**)& XwcDrawText), + Symbol("XmbDrawText", cast(void**)& XmbDrawText), + Symbol("Xutf8TextPerCharExtents", cast(void**)& Xutf8TextPerCharExtents), + Symbol("XwcTextPerCharExtents", cast(void**)& XwcTextPerCharExtents), + Symbol("XmbTextPerCharExtents", cast(void**)& XmbTextPerCharExtents), + Symbol("Xutf8TextExtents", cast(void**)& Xutf8TextExtents), + Symbol("XwcTextExtents", cast(void**)& XwcTextExtents), + Symbol("XmbTextExtents", cast(void**)& XmbTextExtents), + Symbol("Xutf8TextEscapement", cast(void**)& Xutf8TextEscapement), + Symbol("XwcTextEscapement", cast(void**)& XwcTextEscapement), + Symbol("XmbTextEscapement", cast(void**)& XmbTextEscapement), + Symbol("XExtentsOfFontSet", cast(void**)& XExtentsOfFontSet), + Symbol("XContextualDrawing", cast(void**)& XContextualDrawing), + Symbol("XDirectionalDependentDrawing", cast(void**)& XDirectionalDependentDrawing), + Symbol("XContextDependentDrawing", cast(void**)& XContextDependentDrawing), + Symbol("XLocaleOfFontSet", cast(void**)& XLocaleOfFontSet), + Symbol("XBaseFontNameListOfFontSet", cast(void**)& XBaseFontNameListOfFontSet), + Symbol("XFontsOfFontSet", cast(void**)& XFontsOfFontSet), + Symbol("XFreeFontSet", cast(void**)& XFreeFontSet), + Symbol("XCreateFontSet", cast(void**)& XCreateFontSet), + Symbol("XGetOCValues", cast(void**)& XGetOCValues), + Symbol("XSetOCValues", cast(void**)& XSetOCValues), + Symbol("XOMOfOC", cast(void**)& XOMOfOC), + Symbol("XDestroyOC", cast(void**)& XDestroyOC), + Symbol("XCreateOC", cast(void**)& XCreateOC), + Symbol("XLocaleOfOM", cast(void**)& XLocaleOfOM), + Symbol("XDisplayOfOM", cast(void**)& XDisplayOfOM), + Symbol("XGetOMValues", cast(void**)& XGetOMValues), + Symbol("XSetOMValues", cast(void**)& XSetOMValues), + Symbol("XCloseOM", cast(void**)& XCloseOM), + Symbol("XOpenOM", cast(void**)& XOpenOM), + Symbol("XSetLocaleModifiers", cast(void**)& XSetLocaleModifiers), + Symbol("XSupportsLocale", cast(void**)& XSupportsLocale), + Symbol("XWriteBitmapFile", cast(void**)& XWriteBitmapFile), + Symbol("XWindowEvent", cast(void**)& XWindowEvent), + Symbol("XWidthOfScreen", cast(void**)& XWidthOfScreen), + Symbol("XWidthMMOfScreen", cast(void**)& XWidthMMOfScreen), + Symbol("XWarpPointer", cast(void**)& XWarpPointer), + Symbol("XVendorRelease", cast(void**)& XVendorRelease), + Symbol("XUnmapWindow", cast(void**)& XUnmapWindow), + Symbol("XUnmapSubwindows", cast(void**)& XUnmapSubwindows), + Symbol("XUnloadFont", cast(void**)& XUnloadFont), + Symbol("XUninstallColormap", cast(void**)& XUninstallColormap), + Symbol("XUngrabServer", cast(void**)& XUngrabServer), + Symbol("XUngrabPointer", cast(void**)& XUngrabPointer), + Symbol("XUngrabKeyboard", cast(void**)& XUngrabKeyboard), + Symbol("XUngrabKey", cast(void**)& XUngrabKey), + Symbol("XUngrabButton", cast(void**)& XUngrabButton), + Symbol("XUndefineCursor", cast(void**)& XUndefineCursor), + Symbol("XTranslateCoordinates", cast(void**)& XTranslateCoordinates), + Symbol("XTextWidth16", cast(void**)& XTextWidth16), + Symbol("XTextWidth", cast(void**)& XTextWidth), + Symbol("XTextExtents16", cast(void**)& XTextExtents16), + Symbol("XTextExtents", cast(void**)& XTextExtents), + Symbol("XSync", cast(void**)& XSync), + Symbol("XStoreNamedColor", cast(void**)& XStoreNamedColor), + Symbol("XStoreName", cast(void**)& XStoreName), + Symbol("XStoreColors", cast(void**)& XStoreColors), + Symbol("XStoreColor", cast(void**)& XStoreColor), + Symbol("XStoreBytes", cast(void**)& XStoreBytes), + Symbol("XStoreBuffer", cast(void**)& XStoreBuffer), + Symbol("XSetWindowColormap", cast(void**)& XSetWindowColormap), + Symbol("XSetWindowBorderWidth", cast(void**)& XSetWindowBorderWidth), + Symbol("XSetWindowBorderPixmap", cast(void**)& XSetWindowBorderPixmap), + Symbol("XSetWindowBorder", cast(void**)& XSetWindowBorder), + Symbol("XSetWindowBackgroundPixmap", cast(void**)& XSetWindowBackgroundPixmap), + Symbol("XSetWindowBackground", cast(void**)& XSetWindowBackground), + Symbol("XSetTile", cast(void**)& XSetTile), + Symbol("XSetTSOrigin", cast(void**)& XSetTSOrigin), + Symbol("XSetSubwindowMode", cast(void**)& XSetSubwindowMode), + Symbol("XSetStipple", cast(void**)& XSetStipple), + Symbol("XSetState", cast(void**)& XSetState), + Symbol("XSetSelectionOwner", cast(void**)& XSetSelectionOwner), + Symbol("XSetScreenSaver", cast(void**)& XSetScreenSaver), + Symbol("XSetPointerMapping", cast(void**)& XSetPointerMapping), + Symbol("XSetPlaneMask", cast(void**)& XSetPlaneMask), + Symbol("XSetModifierMapping", cast(void**)& XSetModifierMapping), + Symbol("XSetLineAttributes", cast(void**)& XSetLineAttributes), + Symbol("XSetInputFocus", cast(void**)& XSetInputFocus), + Symbol("XSetIconName", cast(void**)& XSetIconName), + Symbol("XSetGraphicsExposures", cast(void**)& XSetGraphicsExposures), + Symbol("XSetFunction", cast(void**)& XSetFunction), + Symbol("XSetForeground", cast(void**)& XSetForeground), + Symbol("XSetFontPath", cast(void**)& XSetFontPath), + Symbol("XSetFont", cast(void**)& XSetFont), + Symbol("XSetFillStyle", cast(void**)& XSetFillStyle), + Symbol("XSetFillRule", cast(void**)& XSetFillRule), + Symbol("XSetDashes", cast(void**)& XSetDashes), + Symbol("XSetCommand", cast(void**)& XSetCommand), + Symbol("XSetCloseDownMode", cast(void**)& XSetCloseDownMode), + Symbol("XSetClipRectangles", cast(void**)& XSetClipRectangles), + Symbol("XSetClipOrigin", cast(void**)& XSetClipOrigin), + Symbol("XSetClipMask", cast(void**)& XSetClipMask), + Symbol("XSetBackground", cast(void**)& XSetBackground), + Symbol("XSetArcMode", cast(void**)& XSetArcMode), + Symbol("XSetAccessControl", cast(void**)& XSetAccessControl), + Symbol("XSendEvent", cast(void**)& XSendEvent), + Symbol("XSelectInput", cast(void**)& XSelectInput), + Symbol("XScreenCount", cast(void**)& XScreenCount), + Symbol("XRotateWindowProperties", cast(void**)& XRotateWindowProperties), + Symbol("XRotateBuffers", cast(void**)& XRotateBuffers), + Symbol("XRestackWindows", cast(void**)& XRestackWindows), + Symbol("XResizeWindow", cast(void**)& XResizeWindow), + Symbol("XResetScreenSaver", cast(void**)& XResetScreenSaver), + Symbol("XReparentWindow", cast(void**)& XReparentWindow), + Symbol("XRemoveHosts", cast(void**)& XRemoveHosts), + Symbol("XRemoveHost", cast(void**)& XRemoveHost), + Symbol("XRemoveFromSaveSet", cast(void**)& XRemoveFromSaveSet), + Symbol("XRefreshKeyboardMapping", cast(void**)& XRefreshKeyboardMapping), + Symbol("XRecolorCursor", cast(void**)& XRecolorCursor), + Symbol("XRebindKeysym", cast(void**)& XRebindKeysym), + Symbol("XReadBitmapFileData", cast(void**)& XReadBitmapFileData), + Symbol("XReadBitmapFile", cast(void**)& XReadBitmapFile), + Symbol("XRaiseWindow", cast(void**)& XRaiseWindow), + Symbol("XQueryTree", cast(void**)& XQueryTree), + Symbol("XQueryTextExtents16", cast(void**)& XQueryTextExtents16), + Symbol("XQueryTextExtents", cast(void**)& XQueryTextExtents), + Symbol("XQueryPointer", cast(void**)& XQueryPointer), + Symbol("XQueryKeymap", cast(void**)& XQueryKeymap), + Symbol("XQueryExtension", cast(void**)& XQueryExtension), + Symbol("XQueryColors", cast(void**)& XQueryColors), + Symbol("XQueryColor", cast(void**)& XQueryColor), + Symbol("XQueryBestTile", cast(void**)& XQueryBestTile), + Symbol("XQueryBestStipple", cast(void**)& XQueryBestStipple), + Symbol("XQueryBestSize", cast(void**)& XQueryBestSize), + Symbol("XQueryBestCursor", cast(void**)& XQueryBestCursor), + Symbol("XQLength", cast(void**)& XQLength), + Symbol("XPutImage", cast(void**)& XPutImage), + Symbol("XPutBackEvent", cast(void**)& XPutBackEvent), + Symbol("XProtocolVersion", cast(void**)& XProtocolVersion), + Symbol("XProtocolRevision", cast(void**)& XProtocolRevision), + Symbol("XPlanesOfScreen", cast(void**)& XPlanesOfScreen), + Symbol("XPending", cast(void**)& XPending), + Symbol("XPeekIfEvent", cast(void**)& XPeekIfEvent), + Symbol("XPeekEvent", cast(void**)& XPeekEvent), + Symbol("XParseGeometry", cast(void**)& XParseGeometry), + Symbol("XParseColor", cast(void**)& XParseColor), + Symbol("XNoOp", cast(void**)& XNoOp), + Symbol("XNextEvent", cast(void**)& XNextEvent), + Symbol("XMoveWindow", cast(void**)& XMoveWindow), + Symbol("XMoveResizeWindow", cast(void**)& XMoveResizeWindow), + Symbol("XMinCmapsOfScreen", cast(void**)& XMinCmapsOfScreen), + Symbol("XMaxCmapsOfScreen", cast(void**)& XMaxCmapsOfScreen), + Symbol("XMaskEvent", cast(void**)& XMaskEvent), + Symbol("XMapWindow", cast(void**)& XMapWindow), + Symbol("XMapSubwindows", cast(void**)& XMapSubwindows), + Symbol("XMapRaised", cast(void**)& XMapRaised), + Symbol("XLowerWindow", cast(void**)& XLowerWindow), + Symbol("XLookupColor", cast(void**)& XLookupColor), + Symbol("XKillClient", cast(void**)& XKillClient), + Symbol("XKeysymToKeycode", cast(void**)& XKeysymToKeycode), + Symbol("XInstallColormap", cast(void**)& XInstallColormap), + Symbol("XImageByteOrder", cast(void**)& XImageByteOrder), + Symbol("XIfEvent", cast(void**)& XIfEvent), + Symbol("XHeightOfScreen", cast(void**)& XHeightOfScreen), + Symbol("XHeightMMOfScreen", cast(void**)& XHeightMMOfScreen), + Symbol("XGrabServer", cast(void**)& XGrabServer), + Symbol("XGrabPointer", cast(void**)& XGrabPointer), + Symbol("XGrabKeyboard", cast(void**)& XGrabKeyboard), + Symbol("XGrabKey", cast(void**)& XGrabKey), + Symbol("XGrabButton", cast(void**)& XGrabButton), + Symbol("XGetWindowAttributes", cast(void**)& XGetWindowAttributes), + Symbol("XGetWindowProperty", cast(void**)& XGetWindowProperty), + Symbol("XGetTransientForHint", cast(void**)& XGetTransientForHint), + Symbol("XGetScreenSaver", cast(void**)& XGetScreenSaver), + Symbol("XGetPointerMapping", cast(void**)& XGetPointerMapping), + Symbol("XGetPointerControl", cast(void**)& XGetPointerControl), + Symbol("XGetKeyboardControl", cast(void**)& XGetKeyboardControl), + Symbol("XGetInputFocus", cast(void**)& XGetInputFocus), + Symbol("XGetIconName", cast(void**)& XGetIconName), + Symbol("XGetGeometry", cast(void**)& XGetGeometry), + Symbol("XGetGCValues", cast(void**)& XGetGCValues), + Symbol("XGetFontProperty", cast(void**)& XGetFontProperty), + Symbol("XGetErrorText", cast(void**)& XGetErrorText), + Symbol("XGetErrorDatabaseText", cast(void**)& XGetErrorDatabaseText), + Symbol("XGeometry", cast(void**)& XGeometry), + Symbol("XFreePixmap", cast(void**)& XFreePixmap), + Symbol("XFreeModifiermap", cast(void**)& XFreeModifiermap), + Symbol("XFreeGC", cast(void**)& XFreeGC), + Symbol("XFreeFontPath", cast(void**)& XFreeFontPath), + Symbol("XFreeFontNames", cast(void**)& XFreeFontNames), + Symbol("XFreeFontInfo", cast(void**)& XFreeFontInfo), + Symbol("XFreeFont", cast(void**)& XFreeFont), + Symbol("XFreeExtensionList", cast(void**)& XFreeExtensionList), + Symbol("XFreeCursor", cast(void**)& XFreeCursor), + Symbol("XFreeColors", cast(void**)& XFreeColors), + Symbol("XFreeColormap", cast(void**)& XFreeColormap), + Symbol("XFree", cast(void**)& XFree), + Symbol("XForceScreenSaver", cast(void**)& XForceScreenSaver), + Symbol("XFlush", cast(void**)& XFlush), + Symbol("XFillRectangles", cast(void**)& XFillRectangles), + Symbol("XFillRectangle", cast(void**)& XFillRectangle), + Symbol("XFillPolygon", cast(void**)& XFillPolygon), + Symbol("XFillArcs", cast(void**)& XFillArcs), + Symbol("XFillArc", cast(void**)& XFillArc), + Symbol("XFetchName", cast(void**)& XFetchName), + Symbol("XEventsQueued", cast(void**)& XEventsQueued), + Symbol("XEnableAccessControl", cast(void**)& XEnableAccessControl), + Symbol("XDrawText16", cast(void**)& XDrawText16), + Symbol("XDrawText", cast(void**)& XDrawText), + Symbol("XDrawString16", cast(void**)& XDrawString16), + Symbol("XDrawString", cast(void**)& XDrawString), + Symbol("XDrawSegments", cast(void**)& XDrawSegments), + Symbol("XDrawRectangles", cast(void**)& XDrawRectangles), + Symbol("XDrawRectangle", cast(void**)& XDrawRectangle), + Symbol("XDrawPoints", cast(void**)& XDrawPoints), + Symbol("XDrawPoint", cast(void**)& XDrawPoint), + Symbol("XDrawLines", cast(void**)& XDrawLines), + Symbol("XDrawLine", cast(void**)& XDrawLine), + Symbol("XDrawImageString16", cast(void**)& XDrawImageString16), + Symbol("XDrawImageString", cast(void**)& XDrawImageString), + Symbol("XDrawArcs", cast(void**)& XDrawArcs), + Symbol("XDrawArc", cast(void**)& XDrawArc), + Symbol("XDisplayWidthMM", cast(void**)& XDisplayWidthMM), + Symbol("XDisplayWidth", cast(void**)& XDisplayWidth), + Symbol("XDisplayPlanes", cast(void**)& XDisplayPlanes), + Symbol("XDisplayKeycodes", cast(void**)& XDisplayKeycodes), + Symbol("XDisplayHeightMM", cast(void**)& XDisplayHeightMM), + Symbol("XDisplayHeight", cast(void**)& XDisplayHeight), + Symbol("XDisplayCells", cast(void**)& XDisplayCells), + Symbol("XDisableAccessControl", cast(void**)& XDisableAccessControl), + Symbol("XDoesSaveUnders", cast(void**)& XDoesSaveUnders), + Symbol("XDoesBackingStore", cast(void**)& XDoesBackingStore), + Symbol("XDestroySubwindows", cast(void**)& XDestroySubwindows), + Symbol("XDestroyWindow", cast(void**)& XDestroyWindow), + Symbol("XDeleteProperty", cast(void**)& XDeleteProperty), + Symbol("XDefineCursor", cast(void**)& XDefineCursor), + Symbol("XDefaultScreen", cast(void**)& XDefaultScreen), + Symbol("XDefaultDepthOfScreen", cast(void**)& XDefaultDepthOfScreen), + Symbol("XDefaultDepth", cast(void**)& XDefaultDepth), + Symbol("XCopyPlane", cast(void**)& XCopyPlane), + Symbol("XCopyGC", cast(void**)& XCopyGC), + Symbol("XCopyArea", cast(void**)& XCopyArea), + Symbol("XConvertSelection", cast(void**)& XConvertSelection), + Symbol("XConnectionNumber", cast(void**)& XConnectionNumber), + Symbol("XConfigureWindow", cast(void**)& XConfigureWindow), + Symbol("XCloseDisplay", cast(void**)& XCloseDisplay), + Symbol("XClearWindow", cast(void**)& XClearWindow), + Symbol("XClearArea", cast(void**)& XClearArea), + Symbol("XCirculateSubwindowsUp", cast(void**)& XCirculateSubwindowsUp), + Symbol("XCirculateSubwindowsDown", cast(void**)& XCirculateSubwindowsDown), + Symbol("XCirculateSubwindows", cast(void**)& XCirculateSubwindows), + Symbol("XCheckWindowEvent", cast(void**)& XCheckWindowEvent), + Symbol("XCheckTypedWindowEvent", cast(void**)& XCheckTypedWindowEvent), + Symbol("XCheckTypedEvent", cast(void**)& XCheckTypedEvent), + Symbol("XCheckMaskEvent", cast(void**)& XCheckMaskEvent), + Symbol("XCheckIfEvent", cast(void**)& XCheckIfEvent), + Symbol("XChangeWindowAttributes", cast(void**)& XChangeWindowAttributes), + Symbol("XChangeSaveSet", cast(void**)& XChangeSaveSet), + Symbol("XChangeProperty", cast(void**)& XChangeProperty), + Symbol("XChangePointerControl", cast(void**)& XChangePointerControl), + Symbol("XChangeKeyboardMapping", cast(void**)& XChangeKeyboardMapping), + Symbol("XChangeKeyboardControl", cast(void**)& XChangeKeyboardControl), + Symbol("XChangeGC", cast(void**)& XChangeGC), + Symbol("XChangeActivePointerGrab", cast(void**)& XChangeActivePointerGrab), + Symbol("XCellsOfScreen", cast(void**)& XCellsOfScreen), + Symbol("XBitmapUnit", cast(void**)& XBitmapUnit), + Symbol("XBitmapPad", cast(void**)& XBitmapPad), + Symbol("XBitmapBitOrder", cast(void**)& XBitmapBitOrder), + Symbol("XBell", cast(void**)& XBell), + Symbol("XAutoRepeatOn", cast(void**)& XAutoRepeatOn), + Symbol("XAutoRepeatOff", cast(void**)& XAutoRepeatOff), + Symbol("XAllowEvents", cast(void**)& XAllowEvents), + Symbol("XAllocNamedColor", cast(void**)& XAllocNamedColor), + Symbol("XAllocColorPlanes", cast(void**)& XAllocColorPlanes), + Symbol("XAllocColorCells", cast(void**)& XAllocColorCells), + Symbol("XAllocColor", cast(void**)& XAllocColor), + Symbol("XAddToSaveSet", cast(void**)& XAddToSaveSet), + Symbol("XAddToExtensionList", cast(void**)& XAddToExtensionList), + Symbol("XAddHosts", cast(void**)& XAddHosts), + Symbol("XAddHost", cast(void**)& XAddHost), + Symbol("XActivateScreenSaver", cast(void**)& XActivateScreenSaver), + Symbol("XSetTransientForHint", cast(void**)& XSetTransientForHint), + Symbol("XFreeStringList", cast(void**)& XFreeStringList), + Symbol("XSetWMColormapWindows", cast(void**)& XSetWMColormapWindows), + Symbol("XGetWMColormapWindows", cast(void**)& XGetWMColormapWindows), + Symbol("XGetCommand", cast(void**)& XGetCommand), + Symbol("XWithdrawWindow", cast(void**)& XWithdrawWindow), + Symbol("XIconifyWindow", cast(void**)& XIconifyWindow), + Symbol("XSetWMProtocols", cast(void**)& XSetWMProtocols), + Symbol("XGetWMProtocols", cast(void**)& XGetWMProtocols), + Symbol("XReconfigureWMWindow", cast(void**)& XReconfigureWMWindow), + Symbol("XListDepths", cast(void**)& XListDepths), + Symbol("XListPixmapFormats", cast(void**)& XListPixmapFormats), + Symbol("XSetIOErrorHandler", cast(void**)& XSetIOErrorHandler), + Symbol("XSetErrorHandler", cast(void**)& XSetErrorHandler), + Symbol("XScreenNumberOfScreen", cast(void**)& XScreenNumberOfScreen), + Symbol("XEventMaskOfScreen", cast(void**)& XEventMaskOfScreen), + Symbol("XDefaultScreenOfDisplay", cast(void**)& XDefaultScreenOfDisplay), + Symbol("XScreenOfDisplay", cast(void**)& XScreenOfDisplay), + Symbol("XDisplayOfScreen", cast(void**)& XDisplayOfScreen), + Symbol("XDefaultColormapOfScreen", cast(void**)& XDefaultColormapOfScreen), + Symbol("XDefaultColormap", cast(void**)& XDefaultColormap), + Symbol("XDisplayString", cast(void**)& XDisplayString), + Symbol("XServerVendor", cast(void**)& XServerVendor), + Symbol("XLastKnownRequestProcessed", cast(void**)& XLastKnownRequestProcessed), + Symbol("XNextRequest", cast(void**)& XNextRequest), + Symbol("XWhitePixelOfScreen", cast(void**)& XWhitePixelOfScreen), + Symbol("XBlackPixelOfScreen", cast(void**)& XBlackPixelOfScreen), + Symbol("XAllPlanes", cast(void**)& XAllPlanes), + Symbol("XWhitePixel", cast(void**)& XWhitePixel), + Symbol("XBlackPixel", cast(void**)& XBlackPixel), + Symbol("XDefaultGCOfScreen", cast(void**)& XDefaultGCOfScreen), + Symbol("XDefaultGC", cast(void**)& XDefaultGC), + Symbol("XDefaultVisualOfScreen", cast(void**)& XDefaultVisualOfScreen), + Symbol("XDefaultVisual", cast(void**)& XDefaultVisual), + Symbol("XRootWindowOfScreen", cast(void**)& XRootWindowOfScreen), + Symbol("XDefaultRootWindow", cast(void**)& XDefaultRootWindow), + Symbol("XRootWindow", cast(void**)& XRootWindow), + Symbol("XEHeadOfExtensionList", cast(void**)& XEHeadOfExtensionList), + Symbol("XFindOnExtensionList", cast(void**)& XFindOnExtensionList), + Symbol("XAddExtension", cast(void**)& XAddExtension), + Symbol("XInitExtension", cast(void**)& XInitExtension), + Symbol("XUnlockDisplay", cast(void**)& XUnlockDisplay), + Symbol("XLockDisplay", cast(void**)& XLockDisplay), + Symbol("XInitThreads", cast(void**)& XInitThreads), + Symbol("XVisualIDFromVisual", cast(void**)& XVisualIDFromVisual), + Symbol("XDisplayMotionBufferSize", cast(void**)& XDisplayMotionBufferSize), + Symbol("XScreenResourceString", cast(void**)& XScreenResourceString), + Symbol("XResourceManagerString", cast(void**)& XResourceManagerString), + Symbol("XExtendedMaxRequestSize", cast(void**)& XExtendedMaxRequestSize), + Symbol("XMaxRequestSize", cast(void**)& XMaxRequestSize), + Symbol("XStringToKeysym", cast(void**)& XStringToKeysym), + Symbol("XGetKeyboardMapping", cast(void**)& XGetKeyboardMapping), + Symbol("XLookupKeysym", cast(void**)& XLookupKeysym), + Symbol("XKeycodeToKeysym", cast(void**)& XKeycodeToKeysym), + Symbol("XListHosts", cast(void**)& XListHosts), + Symbol("XListProperties", cast(void**)& XListProperties), + Symbol("XListExtensions", cast(void**)& XListExtensions), + Symbol("XGetFontPath", cast(void**)& XGetFontPath), + Symbol("XListFontsWithInfo", cast(void**)& XListFontsWithInfo), + Symbol("XListFonts", cast(void**)& XListFonts), + Symbol("XListInstalledColormaps", cast(void**)& XListInstalledColormaps), + Symbol("XCreateWindow", cast(void**)& XCreateWindow), + Symbol("XGetSelectionOwner", cast(void**)& XGetSelectionOwner), + Symbol("XCreateSimpleWindow", cast(void**)& XCreateSimpleWindow), + Symbol("XCreatePixmapFromBitmapData", cast(void**)& XCreatePixmapFromBitmapData), + Symbol("XCreateBitmapFromData", cast(void**)& XCreateBitmapFromData), + Symbol("XCreatePixmap", cast(void**)& XCreatePixmap), + Symbol("XFlushGC", cast(void**)& XFlushGC), + Symbol("XGContextFromGC", cast(void**)& XGContextFromGC), + Symbol("XCreateGC", cast(void**)& XCreateGC), + Symbol("XLoadFont", cast(void**)& XLoadFont), + Symbol("XCreateFontCursor", cast(void**)& XCreateFontCursor), + Symbol("XCreateGlyphCursor", cast(void**)& XCreateGlyphCursor), + Symbol("XCreatePixmapCursor", cast(void**)& XCreatePixmapCursor), + Symbol("XCreateColormap", cast(void**)& XCreateColormap), + Symbol("XCopyColormapAndFree", cast(void**)& XCopyColormapAndFree), + Symbol("XInternAtoms", cast(void**)& XInternAtoms), + Symbol("XInternAtom", cast(void**)& XInternAtom), + Symbol("XSetAfterFunction", cast(void**)& XSetAfterFunction), + Symbol("XSynchronize", cast(void**)& XSynchronize), + Symbol("XKeysymToString", cast(void**)& XKeysymToString), + Symbol("XDisplayName", cast(void**)& XDisplayName), + Symbol("XGetDefault", cast(void**)& XGetDefault), + Symbol("XGetAtomNames", cast(void**)& XGetAtomNames), + Symbol("XGetAtomName", cast(void**)& XGetAtomName), + Symbol("XFetchBuffer", cast(void**)& XFetchBuffer), + Symbol("XFetchBytes", cast(void**)& XFetchBytes), + Symbol("XrmInitialize", cast(void**)& XrmInitialize), + Symbol("XOpenDisplay", cast(void**)& XOpenDisplay), + Symbol("XGetSubImage", cast(void**)& XGetSubImage), + Symbol("XGetImage", cast(void**)& XGetImage), + Symbol("XInitImage", cast(void**)& XInitImage), + Symbol("XCreateImage", cast(void**)& XCreateImage), + Symbol("XNewModifiermap", cast(void**)& XNewModifiermap), + Symbol("XInsertModifiermapEntry", cast(void**)& XInsertModifiermapEntry), + Symbol("XGetModifierMapping", cast(void**)& XGetModifierMapping), + Symbol("XDeleteModifiermapEntry", cast(void**)& XDeleteModifiermapEntry), + Symbol("XGetMotionEvents", cast(void**)& XGetMotionEvents), + Symbol("XQueryFont", cast(void**)& XQueryFont), + Symbol("XLoadQueryFont", cast(void**)& XLoadQueryFont), + Symbol("_Xdebug", cast(void**)& _Xdebug), + Symbol("_Xmblen", cast(void**)& _Xmblen), + ]; +} } else { // version(DYNLINK) extern (C) int _Xwctomb(char *, wchar);