wxwidgets.cfg: Added <use-retval/>-flag for getter-functions.

This commit is contained in:
orbitcowboy 2017-08-07 16:58:19 +02:00
parent 8f262c2c90
commit fb925069a5
1 changed files with 9 additions and 0 deletions

View File

@ -334,6 +334,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="unsigned int"/> <returnValue type="unsigned int"/>
<use-retval/>
</function> </function>
<!-- http://docs.wxwidgets.org/trunk/classwx_radio_box.html --> <!-- http://docs.wxwidgets.org/trunk/classwx_radio_box.html -->
<!-- virtual int GetItemFromPoint (const wxPoint &pt) const --> <!-- virtual int GetItemFromPoint (const wxPoint &pt) const -->
@ -341,6 +342,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="int"/> <returnValue type="int"/>
<use-retval/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
@ -351,6 +353,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="wxString"/> <returnValue type="wxString"/>
<use-retval/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
@ -361,6 +364,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="wxToolTip *"/> <returnValue type="wxToolTip *"/>
<use-retval/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
@ -378,6 +382,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="bool"/> <returnValue type="bool"/>
<use-retval/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
@ -388,6 +393,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="bool"/> <returnValue type="bool"/>
<use-retval/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
@ -444,6 +450,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="unsigned int"/> <returnValue type="unsigned int"/>
<use-retval/>
</function> </function>
<!-- http://docs.wxwidgets.org/trunk/classwx_radio_box.html --> <!-- http://docs.wxwidgets.org/trunk/classwx_radio_box.html -->
<!-- virtual wxString GetString (unsigned int n) const --> <!-- virtual wxString GetString (unsigned int n) const -->
@ -451,6 +458,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="wxString"/> <returnValue type="wxString"/>
<use-retval/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
@ -473,6 +481,7 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<leak-ignore/> <leak-ignore/>
<returnValue type="int"/> <returnValue type="int"/>
<use-retval/>
</function> </function>
<!-- Override macros which don't necessarily require semicolons at the end --> <!-- Override macros which don't necessarily require semicolons at the end -->
<define name="DECLARE_CLASS(n)" value=""/> <define name="DECLARE_CLASS(n)" value=""/>