Define G_OBBECJT(obj). It's #2 on daca@home checkLibraryFunction report currently
This commit is contained in:
parent
d1deff7c02
commit
e3083ade52
|
@ -9,6 +9,7 @@
|
||||||
<define name="G_CALLBACK(cb)" value="cb"/>
|
<define name="G_CALLBACK(cb)" value="cb"/>
|
||||||
<define name="G_LIKELY(expr)" value="(expr)"/>
|
<define name="G_LIKELY(expr)" value="(expr)"/>
|
||||||
<define name="G_UNLIKELY(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 -->
|
<!-- https://developer.gnome.org/glib/stable/glib-Type-Conversion-Macros.html -->
|
||||||
<define name="GINT_TO_POINTER(i)" value="((gpointer) (glong) (i))"/>
|
<define name="GINT_TO_POINTER(i)" value="((gpointer) (glong) (i))"/>
|
||||||
<define name="GPOINTER_TO_INT(p)" value="((gint) (glong) (p))"/>
|
<define name="GPOINTER_TO_INT(p)" value="((gint) (glong) (p))"/>
|
||||||
|
|
Loading…
Reference in New Issue