MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / callfopen

Function callfopen

native/thirdpart/tinyxml2/tinyxml2.cpp:2278–2292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2276}
2277
2278static FILE* callfopen( const char* filepath, const char* mode )
2279{
2280 TIXMLASSERT( filepath );
2281 TIXMLASSERT( mode );
2282#if defined(_MSC_VER) && (_MSC_VER >= 1400 ) && (!defined WINCE)
2283 FILE* fp = 0;
2284 const errno_t err = fopen_s( &fp, filepath, mode );
2285 if ( err ) {
2286 return 0;
2287 }
2288#else
2289 FILE* fp = fopen( filepath, mode );
2290#endif
2291 return fp;
2292}
2293
2294void XMLDocument::DeleteNode( XMLNode* node ) {
2295 TIXMLASSERT( node );

Callers 2

LoadFileMethod · 0.85
SaveFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected