Skip to content

Commit

Permalink
makes possible to use UnsafeMutablePointer<Display> instead of _XPriv…
Browse files Browse the repository at this point in the history
…Display
  • Loading branch information
sakrist committed Jan 1, 2016
1 parent 2fdaaa3 commit aa7e197
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
4 changes: 4 additions & 0 deletions macros.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

#ifndef XLIB_ILLEGAL_ACCESS
#define XLIB_ILLEGAL_ACCESS 1
#endif
15 changes: 8 additions & 7 deletions module.modulemap
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module CX11 [system] {
module Xlib {
header "/usr/include/X11/Xlib.h"
}
module X {
header "/usr/include/X11/X.h"
}
link "X11"
header "macros.h"
module Xlib {
header "/usr/include/X11/Xlib.h"
}
module X {
header "/usr/include/X11/X.h"
}
link "X11"
}

0 comments on commit aa7e197

Please sign in to comment.