-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'freedesktop/master' into restructure
Conflicts: .gitignore Makefile.am autogen.sh configure.ac src/Makefile.am
- Loading branch information
Showing
12 changed files
with
143 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,9 @@ stamp-h1 | |
*.pc | ||
*.tar.bz2 | ||
*.tar.gz | ||
*.xml | ||
*~ | ||
py-compile | ||
*.so | ||
*.swp | ||
*.pyc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#ifndef XPYB_H | ||
#define XPYB_H | ||
|
||
#include <Python.h> | ||
#include <xcb/xcb.h> | ||
|
||
typedef struct { | ||
PyObject_HEAD | ||
xcb_connection_t *conn; | ||
int wrapped; | ||
PyObject *dict; | ||
int pref_screen; | ||
PyObject *core; | ||
PyObject *setup; | ||
PyObject *extcache; | ||
PyObject **events; | ||
int events_len; | ||
PyObject **errors; | ||
int errors_len; | ||
} xpybConn; | ||
|
||
typedef struct { | ||
PyTypeObject *xpybConn_type; | ||
} xpyb_CAPI_t; | ||
|
||
#define xpyb_IMPORT \ | ||
xpyb_CAPI = (xpyb_CAPI_t *) PyCObject_Import("xcb", "CAPI") | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
#ifndef XPYB_CONSTANT_H | ||
#define XPYB_CONSTANT_H | ||
|
||
#include <X11/X.h> | ||
#include <X11/Xatom.h> | ||
|
||
int xpybConstant_modinit(PyObject *m); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.