MCPcopy Create free account
hub / github.com/JayXon/Leanify / callfopen

Function callfopen

lib/tinyxml2/tinyxml2.cpp:1780–1794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1778}
1779
1780static FILE* callfopen( const char* filepath, const char* mode )
1781{
1782 TIXMLASSERT( filepath );
1783 TIXMLASSERT( mode );
1784#if defined(_MSC_VER) && (_MSC_VER >= 1400 ) && (!defined WINCE)
1785 FILE* fp = 0;
1786 errno_t err = fopen_s( &fp, filepath, mode );
1787 if ( err ) {
1788 return 0;
1789 }
1790#else
1791 FILE* fp = fopen( filepath, mode );
1792#endif
1793 return fp;
1794}
1795
1796void XMLDocument::DeleteNode( XMLNode* node ) {
1797 TIXMLASSERT( node );

Callers 2

LoadFileMethod · 0.85
SaveFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected