gtk.cfg: Add support for g_message() and similar printf like functions.

g_error() is special because it never returns.
This commit is contained in:
versat 2019-03-01 11:20:28 +01:00
parent 9348a627e0
commit 24739dc5f2
1 changed files with 30 additions and 0 deletions

View File

@ -5362,6 +5362,36 @@
<leak-ignore/>
<noreturn>false</noreturn>
</function>
<!-- void g_message (const gchar *format, ...) -->
<!-- void g_critical (const gchar *format, ...) -->
<!-- void g_warning (const gchar *format, ...) -->
<!-- void g_info (const gchar *format, ...) -->
<!-- void g_debug (const gchar *format, ...) -->
<function name="g_message,g_critical,g_warning,g_info,g_debug">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<formatstr/>
<arg nr="1">
<not-null/>
<not-uninit/>
<formatstr/>
<strz/>
</arg>
</function>
<!-- void g_error (const gchar *format, ...) -->
<function name="g_error">
<noreturn>true</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<formatstr/>
<arg nr="1">
<not-null/>
<not-uninit/>
<formatstr/>
<strz/>
</arg>
</function>
<function name="gtk_about_dialog_set_email_hook">
<leak-ignore/>
<noreturn>false</noreturn>