MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / callfopen

Function callfopen

ReClass/tinyxml2.cpp:2126–2140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2124}
2125
2126static FILE* callfopen( const char* filepath, const char* mode )
2127{
2128 TIXMLASSERT( filepath );
2129 TIXMLASSERT( mode );
2130#if defined(_MSC_VER) && (_MSC_VER >= 1400 ) && (!defined WINCE)
2131 FILE* fp = 0;
2132 errno_t err = fopen_s( &fp, filepath, mode );
2133 if ( err ) {
2134 return 0;
2135 }
2136#else
2137 FILE* fp = fopen( filepath, mode );
2138#endif
2139 return fp;
2140}
2141
2142void XMLDocument::DeleteNode( XMLNode* node ) {
2143 TIXMLASSERT( node );

Callers 2

LoadFileMethod · 0.85
SaveFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected