| 2432 | |
| 2433 | |
| 2434 | static void |
| 2435 | icvXMLEndWriteStruct( CvFileStorage* fs ) |
| 2436 | { |
| 2437 | CvXMLStackRecord parent; |
| 2438 | |
| 2439 | if( fs->write_stack->total == 0 ) |
| 2440 | CV_Error( CV_StsError, "An extra closing tag" ); |
| 2441 | |
| 2442 | icvXMLWriteTag( fs, fs->struct_tag.ptr, CV_XML_CLOSING_TAG, cvAttrList(0,0) ); |
| 2443 | cvSeqPop( fs->write_stack, &parent ); |
| 2444 | |
| 2445 | fs->struct_indent = parent.struct_indent; |
| 2446 | fs->struct_flags = parent.struct_flags; |
| 2447 | fs->struct_tag = parent.struct_tag; |
| 2448 | cvRestoreMemStoragePos( fs->strstorage, &parent.pos ); |
| 2449 | } |
| 2450 | |
| 2451 | |
| 2452 | static void |
no test coverage detected