wxwidgets.cfg: Improved support for some wxString functions.

This commit is contained in:
Martin Ettl 2018-02-26 13:57:24 +01:00
parent 54d1490c89
commit 5bdab9e85a
1 changed files with 70 additions and 1 deletions

View File

@ -62,6 +62,7 @@
<leak-ignore/> <leak-ignore/>
<returnValue type="bool"/> <returnValue type="bool"/>
<use-retval/> <use-retval/>
<warn severity="style">This is the same as 'wxString::IsEmpty' and is kept for wxWidgets 1.xx compatibility. You should not use it in new code.</warn>
</function> </function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#a42fc468fb16b820b1b599fadfc6285cb --> <!-- http://docs.wxwidgets.org/trunk/classwx_string.html#a42fc468fb16b820b1b599fadfc6285cb -->
<!-- bool wxString::IsNumber() --> <!-- bool wxString::IsNumber() -->
@ -87,6 +88,74 @@
<returnValue type="bool"/> <returnValue type="bool"/>
<use-retval/> <use-retval/>
</function> </function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
<!-- size_t wxString::Len () const -->
<!-- size_t wxString::length () const -->
<function name="wxString::Len,wxString::length">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="size_t"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
<!-- size_t wxString::Length () const -->
<function name="wxString::Length">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="size_t"/>
<use-retval/>
<warn severity="style">This is the same as 'wxString::Len' and is kept for wxWidgets 1.xx compatibility. You should not use it in new code.</warn>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
<!-- wxString wxString::Lower() -->
<function name="wxString::Lower">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="wxString"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
<!-- wxString& wxString::MakeCapitalized()-->
<function name="wxString::MakeCapitalized">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="wxString &amp;"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
<!-- wxString& wxString::MakeLower()-->
<function name="wxString::MakeLower">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="wxString &amp;"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
<!-- wxString& wxString::MakeUpper()-->
<function name="wxString::MakeUpper">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="wxString &amp;"/>
<use-retval/>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
<!-- bool wxString::Matches(const wxString & mask) const -->
<function name="wxString::Matches">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
<!-- void wxString::LowerCase () -->
<function name="wxString::LowerCase">
<noreturn>false</noreturn>
<leak-ignore/>
<warn severity="style">This is the same as 'wxString::MakeLower' and is kept for wxWidgets 1.xx compatibility. You should not use it in new code.</warn>
</function>
<!-- http://docs.wxwidgets.org/trunk/group__group__funcmacro__log.html#gaec3640fa3b46c970ff0c86fe354e59ff --> <!-- http://docs.wxwidgets.org/trunk/group__group__funcmacro__log.html#gaec3640fa3b46c970ff0c86fe354e59ff -->
<!-- unsigned long wxSysErrorCode() --> <!-- unsigned long wxSysErrorCode() -->
<function name="wxSysErrorCode"> <function name="wxSysErrorCode">
@ -1187,7 +1256,7 @@
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
<warn severity="style">This function is deprecated. Please use 'wxFileName::SplitPath()' instead..</warn> <warn severity="style">This function is deprecated. Please use 'wxFileName::SplitPath()' instead.</warn>
</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=""/>