| 345 | } |
| 346 | |
| 347 | static void icvRewind( CvFileStorage* fs ) |
| 348 | { |
| 349 | if( fs->file ) |
| 350 | rewind(fs->file); |
| 351 | #if USE_ZLIB |
| 352 | else if( fs->gzfile ) |
| 353 | gzrewind(fs->gzfile); |
| 354 | #endif |
| 355 | fs->strbufpos = 0; |
| 356 | } |
| 357 | |
| 358 | #define CV_YML_INDENT 3 |
| 359 | #define CV_XML_INDENT 2 |