gtk.cfg: Added support for more macros, found by daca@home.

This commit is contained in:
orbitcowboy 2019-08-01 10:12:31 +02:00
parent 6995d40c14
commit 4704b1d331
1 changed files with 7 additions and 0 deletions

View File

@ -10,9 +10,16 @@
<define name="GTK_SIGNAL_FUNC(f)" value="G_CALLBACK(f)"/> <define name="GTK_SIGNAL_FUNC(f)" value="G_CALLBACK(f)"/>
<!-- https://developer.gnome.org/glib/stable/glib-Miscellaneous-Macros.html --> <!-- https://developer.gnome.org/glib/stable/glib-Miscellaneous-Macros.html -->
<!-- https://github.com/GNOME/glib/blob/master/glib/gmacros.h --> <!-- https://github.com/GNOME/glib/blob/master/glib/gmacros.h -->
<define name="G_GNUC_BEGIN_IGNORE_DEPRECATIONS" value=""/>
<define name="G_GNUC_END_IGNORE_DEPRECATIONS" value=""/>
<define name="G_GNUC_PRETTY_FUNCTION" value="__PRETTY_FUNCTION__"/>
<define name="G_GNUC_PURE" value="__attribute__((__pure__))"/> <define name="G_GNUC_PURE" value="__attribute__((__pure__))"/>
<define name="G_GNUC_MALLOC" value="__attribute__((__malloc__))"/> <define name="G_GNUC_MALLOC" value="__attribute__((__malloc__))"/>
<define name="G_GNUC_NO_INLINE" value=""/> <define name="G_GNUC_NO_INLINE" value=""/>
<define name="G_HAVE_GNUC_VISIBILITY" value="1"/>
<define name="G_GNUC_NO_INSTRUMENT" value=""/>
<define name="G_GNUC_MAY_ALIAS" value="__attribute__((may_alias))"/>
<define name="G_GNUC_INTERNAL" value="__attribute__((visibility(&quot;hidden&quot;)))"/>
<define name="G_GNUC_NULL_TERMINATED" value="__attribute__((__sentinel__))"/> <define name="G_GNUC_NULL_TERMINATED" value="__attribute__((__sentinel__))"/>
<define name="G_GNUC_WARN_UNUSED_RESULT" value="__attribute__((warn_unused_result))"/> <define name="G_GNUC_WARN_UNUSED_RESULT" value="__attribute__((warn_unused_result))"/>
<define name="G_GNUC_FUNCTION" value="__FUNCTION__"/> <define name="G_GNUC_FUNCTION" value="__FUNCTION__"/>