versat 2019-09-13 16:06:41 +02:00
parent f9d29a4ab9
commit 89e0911c9c
1 changed files with 69 additions and 0 deletions

View File

@ -127,6 +127,7 @@
<define name="g_array_insert_val(a,i,v)" value="g_array_insert_vals (a, i, &amp;(v), 1)"/>
<define name="g_array_index(a,t,i)" value="(((t*) (void *) (a)-&gt;data) [(i)])"/>
<define name="g_ptr_array_index(array,index_)" value="((array)-&gt;pdata)[index_]"/>
<define name="g_slist_next(slist)" value="((slist) ? (((GSList *)(slist))-&gt;next) : NULL)"/>
<memory>
<alloc init="true">g_thread_new</alloc>
<alloc init="true">g_thread_try_new</alloc>
@ -953,6 +954,39 @@
<function name="g_slist_append">
<noreturn>false</noreturn>
</function>
<!-- GSList * g_slist_copy (GSList *list); -->
<function name="g_slist_copy">
<noreturn>false</noreturn>
<returnValue type="GSList *"/>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void g_slist_free (GSList *list); -->
<function name="g_slist_free">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-bool/>
</arg>
</function>
<!-- void g_slist_free_full (GSList *list, GDestroyNotify free_func); -->
<function name="g_slist_free_full">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1"/>
<arg nr="2"/>
</function>
<!-- void g_slist_free_1 (GSList *list); -->
<function name="g_slist_free_1">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-bool/>
</arg>
</function>
<function name="g_slist_insert_before">
<noreturn>false</noreturn>
</function>
@ -965,8 +999,15 @@
<function name="g_slist_insert_sorted_with_data">
<noreturn>false</noreturn>
</function>
<!-- GSList * g_slist_prepend (GSList *list, gpointer data); -->
<function name="g_slist_prepend">
<noreturn>false</noreturn>
<returnValue type="GSList *"/>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2"/>
</function>
<!-- void gtk_list_store_set (GtkListStore *list_store,
GtkTreeIter *iter,
@ -1499,21 +1540,49 @@
<leak-ignore/>
<noreturn>false</noreturn>
</function>
<!-- void g_slist_foreach (GSList *list, GFunc func, gpointer user_data); -->
<function name="g_slist_foreach">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2"/>
<arg nr="3"/>
</function>
<!-- gint g_slist_index (GSList *list, gconstpointer data); -->
<function name="g_slist_index">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="gint"/>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- GSList * g_slist_last (GSList *list); -->
<function name="g_slist_last">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="GSList *"/>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- guint g_slist_length (GSList *list); -->
<function name="g_slist_length">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="guint"/>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<function name="g_slist_nth">
<leak-ignore/>