MCPcopy Create free account
hub / github.com/crossuo/crossuo / callfopen

Function callfopen

external/tinyxml2.cpp:2250–2264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2248}
2249
2250static FILE* callfopen( const char* filepath, const char* mode )
2251{
2252 TIXMLASSERT( filepath );
2253 TIXMLASSERT( mode );
2254#if defined(_MSC_VER) && (_MSC_VER >= 1400 ) && (!defined WINCE)
2255 FILE* fp = 0;
2256 const errno_t err = fopen_s( &fp, filepath, mode );
2257 if ( err ) {
2258 return 0;
2259 }
2260#else
2261 FILE* fp = fopen( filepath, mode );
2262#endif
2263 return fp;
2264}
2265
2266void XMLDocument::DeleteNode( XMLNode* node ) {
2267 TIXMLASSERT( node );

Callers 2

LoadFileMethod · 0.85
SaveFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected