diff options
| author | Johan Dahlin <johan@src.gnome.org> | 2004-08-03 18:38:14 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2004-08-03 18:38:14 +0000 |
| commit | bed044f5d6f69b376e45ac388322e9bf7484ae7e (patch) | |
| tree | 078d36b1281ac60aed5746ea4b9086e26919df6a /gobject/pygobject.h | |
| parent | 9409df14dfa596a87cf010cceeb9d96ace559527 (diff) | |
| download | pygobject-bed044f5d6f69b376e45ac388322e9bf7484ae7e.tar.gz pygobject-bed044f5d6f69b376e45ac388322e9bf7484ae7e.tar.xz pygobject-bed044f5d6f69b376e45ac388322e9bf7484ae7e.zip | |
Urgh. more threading 'fixes'
Diffstat (limited to 'gobject/pygobject.h')
| -rw-r--r-- | gobject/pygobject.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h index c9cebfe..43ea664 100644 --- a/gobject/pygobject.h +++ b/gobject/pygobject.h @@ -7,6 +7,12 @@ #include <glib.h> #include <glib-object.h> +#ifdef DISABLE_THREADING +# define PyGILState_STATE int +# define PyGILState_Ensure() (0) +# define PyGILState_Release(x) +#endif + typedef struct { PyObject_HEAD GObject *obj; |
