"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cfg/gtk.cfg" between
cppcheck-1.86.tar.gz and cppcheck-1.87.tar.gz

About: Cppcheck is a static analysis tool for C/C++ code. It checks for memory leaks, mismatching allocation-deallocation, buffer overrun, and many more.

gtk.cfg  (cppcheck-1.86):gtk.cfg  (cppcheck-1.87)
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- THIS FILE IS GENERATED AUTOMATICALLY. See https://github.com/scriptum/cppch <!-- This file once has been generated automatically. See https://github.com/scr
eck-libs --> iptum/cppcheck-libs -->
<!-- Now it is maintained and extended manually. -->
<def format="2"> <def format="2">
<define name="g_return_if_fail(expr)" value="do{if(!(expr)){return;}}while(0)" /> <define name="g_return_if_fail(expr)" value="do{if(!(expr)){return;}}while(0)" />
<define name="g_return_val_if_fail(expr, val)" value="do{if(!(expr)){return va l;}}while(0)"/> <define name="g_return_val_if_fail(expr, val)" value="do{if(!(expr)){return va l;}}while(0)"/>
<define name="g_return_if_reached()" value="do{return;}while(0)"/> <define name="g_return_if_reached()" value="do{return;}while(0)"/>
<define name="g_return_val_if_reached(val)" value="do{return val;}while(0)"/> <define name="g_return_val_if_reached(val)" value="do{return val;}while(0)"/>
<define name="G_CALLBACK(cb)" value="cb"/>
<define name="G_LIKELY(expr)" value="(expr)"/> <define name="G_LIKELY(expr)" value="(expr)"/>
<define name="G_UNLIKELY(expr)" value="(expr)"/> <define name="G_UNLIKELY(expr)" value="(expr)"/>
<!-- https://developer.gnome.org/glib/stable/glib-I18N.html -->
<!-- Using something similar to the gi18n-lib.h macro value here to avoid depe
ndencies to gettext() -->
<define name="_(string)" value="((char *) g_dgettext(NULL, string))"/>
<define name="Q_(string)" value="g_dpgettext(NULL, string, 0)"/>
<define name="N_(string)" value="(string)"/>
<define name="C_(context, string)" value="g_dpgettext (NULL, context &quot;\00
4&quot; string, strlen (context) + 1)"/>
<define name="NC_(context, string)" value="(string)"/>
<memory> <memory>
<alloc init="true">g_thread_new</alloc> <alloc init="true">g_thread_new</alloc>
<alloc init="true">g_thread_try_new</alloc> <alloc init="true">g_thread_try_new</alloc>
<use>g_thread_ref</use> <use>g_thread_ref</use>
<dealloc>g_thread_unref</dealloc> <dealloc>g_thread_unref</dealloc>
</memory> </memory>
<memory> <memory>
<alloc init="true">g_variant_iter_copy</alloc> <alloc init="true">g_variant_iter_copy</alloc>
<alloc init="true">g_variant_iter_new</alloc> <alloc init="true">g_variant_iter_new</alloc>
<dealloc>g_variant_iter_free</dealloc> <dealloc>g_variant_iter_free</dealloc>
skipping to change at line 1828 skipping to change at line 1837
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_date_valid_year"> <function name="g_date_valid_year">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_dcgettext"> <function name="g_dcgettext">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<!-- const gchar * g_dgettext (const gchar *domain, const gchar *msgid); -->
<function name="g_dgettext"> <function name="g_dgettext">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<returnValue type="const gchar *"/>
<use-retval/>
<arg nr="1">
</arg>
<arg nr="2">
<not-uninit/>
<strz/>
<not-bool/>
</arg>
</function> </function>
<function name="g_direct_equal"> <function name="g_direct_equal">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_direct_hash"> <function name="g_direct_hash">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_dngettext"> <function name="g_dngettext">
skipping to change at line 1852 skipping to change at line 1871
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_double_equal"> <function name="g_double_equal">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_double_hash"> <function name="g_double_hash">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<!-- const gchar * g_dpgettext (const gchar *domain, const gchar *msgctxtid, g size msgidoffset); -->
<function name="g_dpgettext"> <function name="g_dpgettext">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<returnValue type="const gchar *"/>
<use-retval/>
<arg nr="1">
</arg>
<arg nr="2">
<not-uninit/>
<strz/>
</arg>
<arg nr="3">
<not-uninit/>
<valid>0:</valid>
<not-bool/>
</arg>
</function> </function>
<function name="g_dpgettext2"> <function name="g_dpgettext2">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_environ_getenv"> <function name="g_environ_getenv">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_file_error_from_errno"> <function name="g_file_error_from_errno">
skipping to change at line 2441 skipping to change at line 2474
</function> </function>
<function name="g_slice_get_config_state"> <function name="g_slice_get_config_state">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_slice_set_config"> <function name="g_slice_set_config">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_snprintf"> <function name="g_snprintf">
<leak-ignore/> <returnValue type="int"/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<minsize type="argvalue" arg="2"/>
</arg>
<arg nr="2">
<not-uninit/>
<valid>0:</valid>
</arg>
<formatstr/>
<arg nr="3">
<formatstr/>
<not-null/>
<not-uninit/>
</arg>
</function> </function>
<function name="g_source_remove"> <function name="g_source_remove">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_source_remove_by_funcs_user_data"> <function name="g_source_remove_by_funcs_user_data">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_source_remove_by_user_data"> <function name="g_source_remove_by_user_data">
skipping to change at line 3564 skipping to change at line 3612
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_dir_read_name"> <function name="g_dir_read_name">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_error_matches"> <function name="g_error_matches">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<!-- void g_free(gpointer mem); -->
<function name="g_free">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="g_hash_table_iter_get_hash_table"> <function name="g_hash_table_iter_get_hash_table">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_hash_table_iter_init"> <function name="g_hash_table_iter_init">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_hash_table_iter_next"> <function name="g_hash_table_iter_next">
<leak-ignore/> <leak-ignore/>
skipping to change at line 3964 skipping to change at line 4020
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_main_loop_quit"> <function name="g_main_loop_quit">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_main_loop_run"> <function name="g_main_loop_run">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<!-- gpointer g_malloc(gsize n_bytes); -->
<!-- gpointer g_malloc0(gsize n_bytes); -->
<function name="g_malloc,g_malloc0">
<noreturn>false</noreturn>
<returnValue type="gpointer"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<function name="g_mapped_file_get_contents"> <function name="g_mapped_file_get_contents">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_mapped_file_get_length"> <function name="g_mapped_file_get_length">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="g_markup_parse_context_end_parse"> <function name="g_markup_parse_context_end_parse">
<leak-ignore/> <leak-ignore/>
skipping to change at line 18020 skipping to change at line 18087
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="gtk_window_group_list_windows"> <function name="gtk_window_group_list_windows">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<function name="gtk_window_group_remove_window"> <function name="gtk_window_group_remove_window">
<leak-ignore/> <leak-ignore/>
<noreturn>false</noreturn> <noreturn>false</noreturn>
</function> </function>
<!-- gchar * g_strdup (const gchar *str);-->
<function name="g_strdup">
<noreturn>false</noreturn>
<returnValue type="gchar *"/>
<use-retval/>
<arg nr="1">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
</function>
<define name="gchar" value="char"/> <define name="gchar" value="char"/>
<define name="guchar" value="unsigned char"/> <define name="guchar" value="unsigned char"/>
<define name="gint" value="int"/> <define name="gint" value="int"/>
<define name="guint" value="unsigned int"/> <define name="guint" value="unsigned int"/>
<define name="gshort" value="short"/> <define name="gshort" value="short"/>
<define name="gushort" value="unsigned short"/> <define name="gushort" value="unsigned short"/>
<define name="glong" value="long"/> <define name="glong" value="long"/>
<define name="gulong" value="unsigned long"/> <define name="gulong" value="unsigned long"/>
<define name="gpointer" value="void*"/> <define name="gpointer" value="void*"/>
<define name="gconstpointer" value="const void*"/> <define name="gconstpointer" value="const void*"/>
 End of changes. 12 change blocks. 
3 lines changed or deleted 83 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)