summaryrefslogtreecommitdiff
path: root/gi/pygenum.h
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-03-22 23:04:53 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-03-22 23:08:55 +0100
commiteace9489c6fade247f9aeb960e0183a141a1f8d5 (patch)
tree44185a5cd9089386624e49a8787536284e61cae2 /gi/pygenum.h
parent507e6a2824b5bde57e43c56c3178b5dac57506a1 (diff)
downloadpygobject-eace9489c6fade247f9aeb960e0183a141a1f8d5.tar.gz
Remove pyglib.c/h
Leftovers from the static bindings, move to their users.
Diffstat (limited to 'gi/pygenum.h')
-rw-r--r--gi/pygenum.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gi/pygenum.h b/gi/pygenum.h
index 0625a949..ca1fd79a 100644
--- a/gi/pygenum.h
+++ b/gi/pygenum.h
@@ -20,6 +20,8 @@
#ifndef __PYGOBJECT_ENUM_H__
#define __PYGOBJECT_ENUM_H__
+#include "pyglib-python-compat.h"
+
extern GQuark pygenum_class_key;
#define PyGEnum_Check(x) (PyObject_IsInstance((PyObject *)x, (PyObject *)&PyGEnum_Type) && g_type_is_a(((PyGFlags*)x)->gtype, G_TYPE_ENUM))