tinyxml2.cfg: Added support for XMLElement::Attribute().

This commit is contained in:
orbitcowboy 2019-01-25 20:15:01 +01:00
parent 6b48b1610c
commit 58aea8118a
1 changed files with 17 additions and 3 deletions

View File

@ -19,8 +19,8 @@
<define name="XML_NO_TEXT_NODE" value="16"/>
<define name="XML_ELEMENT_DEPTH_EXCEEDED" value="17"/>
<define name="XML_ERROR_COUNT" value="18"/>
<!-- XMLError tinyxml2::XMLDocument::LoadFile( const char* filename ) -->
<!-- XMLError tinyxml2::XMLDocument::LoadFile( FILE* ) -->
<!-- tinyxml2::XMLError tinyxml2::XMLDocument::LoadFile( const char* filename ) -->
<!-- tinyxml2::XMLError tinyxml2::XMLDocument::LoadFile( FILE* ) -->
<function name="tinyxml2::XMLDocument::LoadFile">
<noreturn>false</noreturn>
<leak-ignore/>
@ -34,9 +34,23 @@
<function name="tinyxml2::XMLNode::FirstChildElement,tinyxml2::XMLNode::LastChildElement">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="tinyxml2::XMLElement *"/>
<returnValue type="const tinyxml2::XMLElement *"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- const char* tinyxml2::XMLElement::Attribute( const char* name, const char* value=0 ) const-->
<function name="tinyxml2::XMLElement::Attribute">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="const char *"/>
<use-retval/>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2" default="0">
<not-uninit/>
</arg>
</function>
</def>