hugopl / gi-crystal

Tool to generate Crystal bindings for gobject-based libraries (i.e. GTK)
BSD 3-Clause "New" or "Revised" License
45 stars 3 forks source link

Fail to compile with newer libraries. #124

Closed hugopl closed 1 year ago

hugopl commented 1 year ago

Error:

In src/auto/g_object-2.0/g_object.cr:376:72

 376 | alias TypeValueCollectFunc = Proc(GObject::Value, UInt32, Enumerable(GObject::TypeCValue), UInt32, ::String)
                                                                            ^------------------
Error: undefined constant GObject::TypeCValue

Library versions:

gobject-introspection 1.78.1-1
glib2 2.78.0-2
hugopl commented 1 year ago

Fixed by #125 .