wxwidgets.cfg: Added support for more interface, found by daca@home

This commit is contained in:
orbitcowboy 2020-12-25 12:16:06 +01:00
parent cf57233f5d
commit 53a4f68cb2
2 changed files with 24 additions and 1 deletions

View File

@ -7751,12 +7751,34 @@
<!-- bool wxFileName::AppendDir( const wxString & dir ) -->
<function name="wxFileName::AppendDir">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<arg nr="1" direction="in"/>
</function>
<!-- bool wxFileName::DirExists( void ) const -->
<!-- static bool wxFileName::DirExists( const wxString & dir ) -->
<function name="wxFileName::DirExists">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<returnValue type="bool"/>
<arg nr="1" direction="in" default="wxEmptyString"/>
</function>
<!-- bool wxFileName::Normalize(int flags = wxPATH_NORM_ALL, const wxString & cwd = wxEmptyString, wxPathFormat format = wxPATH_NATIVE) -->
<function name="wxFileName::Normalize">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<arg nr="1" direction="in" default="wxPATH_NORM_ALL">
<not-uninit/>
</arg>
<arg nr="2" direction="in" default="wxEmptyString"/>
<arg nr="3" direction="in" default="wxPATH_NATIVE"/>
</function>
<!-- bool wxGetEnv( const wxString & var, wxString * value ) -->
<function name="wxGetEnv">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<use-retval/>
<arg nr="1" direction="in"/>

View File

@ -239,7 +239,8 @@ static std::string readUntil(const std::string &command, std::string::size_type
return ret;
}
static std::string unescape(const std::string &in) {
static std::string unescape(const std::string &in)
{
std::string out;
bool escape = false;
for (char c: in) {