Browse Source

Added xlib_nuklear genfile. Adjusted dynload.h

master
Dirkson 5 years ago
parent
commit
094e3315f3
  1. 59
      genfiles/xlib_nuklear.gen
  2. 6
      include/dynload.h

59
genfiles/xlib_nuklear.gen

@ -0,0 +1,59 @@
xlib_nuklear {
dynobj {
libX11.so
libX11.so.6
libX11.so.6.3.0
}
gcc {
}
/usr/include/X11/Xlib.h {
XDrawArc
XFillPolygon
XFillArc
XCopyArea
XSetForeground
XDrawLine
XOpenDisplay
XDefaultScreen
XDefaultVisual
XCreateColormap
XDefaultDepth
XCreateWindow
XStoreName
XMapWindow
XGetWindowAttributes
XSetLineAttributes
XFillRectangle
XDrawString
XFreeCursor
XFreeGC
XFreePixmap
XFree
XRefreshKeyboardMapping
XWarpPointer
XCreatePixmap
XCreateFontSet
XFreeStringList
XExtentsOfFontSet
XFontsOfFontSet
XLoadQueryFont
XFreeFont
XFreeFontSet
XSupportsLocale
XSetLocaleModifiers
XCreateBitmapFromData
XCreatePixmapCursor
XCreateGC
XTextWidth
XDefineCursor
XUndefineCursor
XGetKeyboardMapping
XmbDrawString
XSetClipRectangles
XDrawRectangle
XmbTextExtents
}
/usr/include/X11/Xutil.h {
XLookupString
}
}

6
include/dynload.h

@ -15,9 +15,9 @@ typedef struct {
//All external functions return one of the following return codes.
//The library is very simple, so it returns very simple error codes
typedef enum {
DYNLOAD_SUCCESS,
DYNLOAD_ERR_NOFILE,
DYNLOAD_ERR_UNKNOWN
DYNLOAD_SUCCESS = 1,
DYNLOAD_ERR_NOFILE = 2,
DYNLOAD_ERR_UNKNOWN = 3
} Dynload_Return;
extern Dynload_Return dynload(dynload_library*);

Loading…
Cancel
Save