diff options
| -rw-r--r-- | gobject/pygobject.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h index ec06faa..056d3e3 100644 --- a/gobject/pygobject.h +++ b/gobject/pygobject.h @@ -7,6 +7,8 @@ #include <glib.h> #include <glib-object.h> +G_BEGIN_DECLS + /* Work around bugs in PyGILState api fixed in 2.4.0a4 */ #if PY_HEXVERSION < 0x020400A4 #define PYGIL_API_IS_BUGGY TRUE @@ -137,14 +139,14 @@ struct _PyGObject_Functions { const GParamSpec* pspec); PyTypeObject *enum_type; PyObject *(*enum_add)(PyObject *module, - const char *typename, + const char *typename_, const char *strip_prefix, GType gtype); PyObject* (*enum_from_gtype)(GType gtype, int value); PyTypeObject *flags_type; PyObject *(*flags_add)(PyObject *module, - const char *typename, + const char *typename_, const char *strip_prefix, GType gtype); PyObject* (*flags_from_gtype)(GType gtype, int value); @@ -253,4 +255,6 @@ struct _PyGObject_Functions *_PyGObject_API; #endif /* !_INSIDE_PYGOBJECT_ */ +G_END_DECLS + #endif /* !_PYGOBJECT_H_ */ |
