Add parentheses to G_OBJECT
This commit is contained in:
parent
e3083ade52
commit
ac0d39a164
|
@ -9,7 +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"/>
|
<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