| 330 | } |
| 331 | |
| 332 | static 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 | |
| 347 | static void icvRewind( CvFileStorage* fs ) |
| 348 | { |
no outgoing calls
no test coverage detected