Skip to content

Commit

Permalink
<pure/>
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed May 2, 2024
1 parent 8de5274 commit 930fee1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cfg/gtk.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1506,6 +1506,7 @@
</function>
<!-- guint g_list_length (GList *list); -->
<function name="g_list_length">
<pure/>
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="guint"/>
Expand Down Expand Up @@ -1679,6 +1680,7 @@
</function>
<!-- guint g_slist_length (GSList *list); -->
<function name="g_slist_length">
<pure/>
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="guint"/>
Expand Down Expand Up @@ -4039,6 +4041,7 @@
</function>
<!-- gboolean g_str_equal (gconstpointer v1, gconstpointer v2); -->
<function name="g_str_equal">
<pure/>
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="gboolean"/>
Expand Down
1 change: 1 addition & 0 deletions cfg/opengl.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glIsEnabled.xml -->
<!-- GLboolean glIsEnabled( GLenum cap ); -->
<function name="glIsEnabled">
<pure/>
<noreturn>false</noreturn>
<returnValue type="GLboolean"/>
<use-retval/>
Expand Down
1 change: 1 addition & 0 deletions cfg/qt.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
</function>
<!-- const T &qBound(const T &min, const T &val, const T &max) -->
<function name="qBound">
<pure/>
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1" direction="in">
Expand Down
2 changes: 2 additions & 0 deletions cfg/sqlite3.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,7 @@
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_mutex_held -->
<!-- int sqlite3_mutex_held(sqlite3_mutex*); -->
<function name="sqlite3_mutex_held">
<pure/>
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
Expand All @@ -988,6 +989,7 @@
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_mutex_held -->
<!-- int sqlite3_mutex_notheld(sqlite3_mutex*); -->
<function name="sqlite3_mutex_notheld">
<pure/>
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
Expand Down
2 changes: 2 additions & 0 deletions cfg/std.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5623,6 +5623,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
</function>
<!-- int tolower(int c); -->
<function name="tolower,std::tolower">
<pure/>
<use-retval/>
<returnValue type="int">arg1 &lt; 'A' || arg1 &gt; 'Z' ? arg1 : arg1 + 32</returnValue>
<noreturn>false</noreturn>
Expand Down Expand Up @@ -8175,6 +8176,7 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
</function>
<!--#define offsetof(type, member) /*implementation-defined*/-->
<function name="offsetof">
<pure/>
<noreturn>false</noreturn>
<returnValue type="std::size_t"/>
<use-retval/>
Expand Down

0 comments on commit 930fee1

Please sign in to comment.