Skip to content

Commit c1f3a1b

Browse files
committed
gtk.cfg: Add various defines
1 parent 9ea1983 commit c1f3a1b

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

cfg/gtk.cfg

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,24 @@
1010
<define name="g_return_val_if_reached(val)" value="do{return (val);}while(0);"/>
1111
<define name="G_CALLBACK(cb)" value="cb"/>
1212
<define name="GTK_SIGNAL_FUNC(f)" value="G_CALLBACK(f)"/>
13+
<define name="G_DIR_SEPARATOR_S" value="&quot;/&quot;"/>
14+
<define name="G_GINT32_FORMAT" value="&quot;i&quot;"/>
15+
<define name="G_GINT32_MODIFIER" value="&quot;&quot;"/>
16+
<define name="G_GINT64_FORMAT" value="&quot;li&quot;"/>
17+
<define name="G_GINT64_MODIFIER" value="&quot;l&quot;"/>
18+
<define name="G_GSIZE_FORMAT" value="&quot;lu&quot;"/>
19+
<define name="G_GSIZE_MODIFIER" value="&quot;l&quot;"/>
20+
<define name="G_GSSIZE_FORMAT" value="&quot;li&quot;"/>
21+
<define name="G_GSSIZE_MODIFIER" value="&quot;l&quot;"/>
22+
<define name="G_GUINT32_FORMAT" value="&quot;u&quot;"/>
23+
<define name="G_GUINT64_FORMAT" value="&quot;lu&quot;"/>
1324
<!-- https://developer.gnome.org/glib/stable/glib-Miscellaneous-Macros.html -->
1425
<!-- https://github.com/GNOME/glib/blob/master/glib/gmacros.h -->
26+
<define name="G_GNUC_CHECK_VERSION(major, minor)" value="1"/>
1527
<define name="G_GNUC_BEGIN_IGNORE_DEPRECATIONS" value=""/>
1628
<define name="G_GNUC_END_IGNORE_DEPRECATIONS" value=""/>
29+
<define name="G_GNUC_DEPRECATED" value="__attribute__((__deprecated__))"/>
30+
<define name="G_GNUC_DEPRECATED_FOR(f)" value="__attribute__((deprecated(&quot;Use &quot; #f &quot; instead&quot;)))"/>
1731
<define name="G_GNUC_PRETTY_FUNCTION" value="__PRETTY_FUNCTION__"/>
1832
<define name="G_GNUC_PURE" value="__attribute__((__pure__))"/>
1933
<define name="G_GNUC_MALLOC" value="__attribute__((__malloc__))"/>
@@ -23052,6 +23066,10 @@
2305223066
<define name="GTK_IMAGE_ICON_NAME" value="1"/>
2305323067
<define name="GTK_IMAGE_GICON" value="2"/>
2305423068
<define name="GTK_IMAGE_PAINTABLE" value="3"/>
23069+
<!-- gtk/gtklevelbar.h -->
23070+
<define name="GTK_LEVEL_BAR_OFFSET_FULL" value="&quot;full&quot;"/>
23071+
<define name="GTK_LEVEL_BAR_OFFSET_HIGH" value="&quot;high&quot;"/>
23072+
<define name="GTK_LEVEL_BAR_OFFSET_LOW" value="&quot;low&quot;"/>
2305523073
<!-- gtk/gtk.h -->
2305623074
<define name="GTK_STOCK_ZOOM_IN" value="&quot;gtk-zoom-in&quot;"/>
2305723075
<define name="GTK_STOCK_ZOOM_FIT" value="&quot;gtk-zoom-fit&quot;"/>

0 commit comments

Comments
 (0)