Define G_OBBECJT(obj). It's #2 on daca@home checkLibraryFunction report currently

This commit is contained in:
amai2012 2019-02-15 21:50:32 +01:00
parent d1deff7c02
commit e3083ade52
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
<define name="G_CALLBACK(cb)" value="cb"/>
<define name="G_LIKELY(expr)" value="(expr)"/>
<define name="G_UNLIKELY(expr)" value="(expr)"/>
<define name="G_OBJECT(obj)" value="(GObject*)obj"/>
<!-- https://developer.gnome.org/glib/stable/glib-Type-Conversion-Macros.html -->
<define name="GINT_TO_POINTER(i)" value="((gpointer) (glong) (i))"/>
<define name="GPOINTER_TO_INT(p)" value="((gint) (glong) (p))"/>