diff options
Diffstat (limited to 'gobject/pygobject-private.h')
-rw-r--r-- | gobject/pygobject-private.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gobject/pygobject-private.h b/gobject/pygobject-private.h index 130305aa..42509e10 100644 --- a/gobject/pygobject-private.h +++ b/gobject/pygobject-private.h @@ -26,16 +26,6 @@ void pyg_destroy_notify (gpointer user_data); typedef struct { PyObject_HEAD - GParamSpec *pspec; -} PyGParamSpec; -extern PyTypeObject PyGParamSpec_Type; -PyObject *pyg_param_spec_new(GParamSpec *pspec); - -#define PyGParamSpec_Check(v) (PyObject_TypeCheck(v, &PyGParamSpec_Type)) -#define PyGParamSpec_Get(v) (((PyGParamSpec *)v)->pspec) - -typedef struct { - PyObject_HEAD GMainLoop *loop; } PyGMainLoop; extern PyTypeObject PyGMainLoop_Type; @@ -106,4 +96,7 @@ void pyg_register_pointer (PyObject *dict, const gchar *class_name, GType pointer_type, PyTypeObject *type); PyObject * pyg_pointer_new (GType pointer_type, gpointer pointer); +extern PyTypeObject PyGParamSpec_Type; +PyObject *pyg_param_spec_new (GParamSpec *pspec); + #endif |