MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Create

Method Create

Source/Utility/IniFile.cpp:295–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293//
294//*****************************************************************************
295CIniFile * CIniFile::Create( const char * filename )
296{
297 IIniFile * p_file( new IIniFile );
298 if( p_file != NULL )
299 {
300 if( p_file->Open( filename ) )
301 {
302 return p_file;
303 }
304
305 delete p_file;
306 }
307
308 return NULL;
309}
310
311//*****************************************************************************
312//

Callers

nothing calls this directly

Calls 1

OpenMethod · 0.45

Tested by

no test coverage detected