gtk.cfg: Added support for g_strdup(); wxwidgets.cfg: Added <use-retval/>-flag to wxString::FromUTF8().

This commit is contained in:
orbitcowboy 2019-02-03 20:30:40 +01:00
parent b7f43f99ca
commit b472d74f1f
2 changed files with 11 additions and 0 deletions

View File

@ -18084,6 +18084,16 @@
<leak-ignore/>
<noreturn>false</noreturn>
</function>
<!-- gchar * g_strdup (const gchar *str);-->
<function name="g_strdup">
<noreturn>false</noreturn>
<returnValue type="gchar *"/>
<arg nr="1">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
</function>
<define name="gchar" value="char"/>
<define name="guchar" value="unsigned char"/>
<define name="gint" value="int"/>

View File

@ -7298,6 +7298,7 @@
<noreturn>false</noreturn>
<returnValue type="wxString"/>
<pure/>
<use-retval/>
<arg nr="1">
<!-- <not-uninit/> Avoid FP for (*) -->
<not-null/>