MCPcopy Create free account
hub / github.com/creatale/node-dv / icvCloseFile

Function icvCloseFile

deps/opencv/modules/core/src/persistence.cpp:332–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332static void icvCloseFile( CvFileStorage* fs )
333{
334 if( fs->file )
335 fclose( fs->file );
336#if USE_ZLIB
337 else if( fs->gzfile )
338 gzclose( fs->gzfile );
339#endif
340 fs->file = 0;
341 fs->gzfile = 0;
342 fs->strbuf = 0;
343 fs->strbufpos = 0;
344 fs->is_opened = false;
345}
346
347static void icvRewind( CvFileStorage* fs )
348{

Callers 2

icvCloseFunction · 0.85
persistence.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected