about summary refs log tree commit diff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hare-gi/ctype.ha4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/hare-gi/ctype.ha b/cmd/hare-gi/ctype.ha
index c970b49..37671dd 100644
--- a/cmd/hare-gi/ctype.ha
+++ b/cmd/hare-gi/ctype.ha
@@ -155,6 +155,10 @@ let map: [](str, ctype) = [
 	// <gobject/gvalue.h>
 	("_Value__data__union", (cmodule::GOBJECT, "ValueUnion")),
 
+	// Move GType down to GLib to avoid a circular dependency of
+	// GObject -> GLib -> GObject
+	("GType", (cmodule::GLIB, "Type")),
+
 	// <unistd.h>
 	("pid_t", cbuiltin::UINT),
 	("uid_t", cbuiltin::UINT),