| 458 | // ================================================================================================= |
| 459 | |
| 460 | static void CommentHandler ( void * userData, XMP_StringPtr comment ) |
| 461 | { |
| 462 | IgnoreParam(userData); |
| 463 | |
| 464 | #if XMP_DebugBuild & DumpXMLParseEvents // Avoid unused variable warning. |
| 465 | ExpatAdapter * thiz = (ExpatAdapter*)userData; |
| 466 | #endif |
| 467 | |
| 468 | if ( comment == 0 ) comment = ""; |
| 469 | |
| 470 | #if XMP_DebugBuild & DumpXMLParseEvents |
| 471 | if ( thiz->parseLog != 0 ) { |
| 472 | PrintIndent ( thiz->parseLog, thiz->elemNesting ); |
| 473 | fprintf ( thiz->parseLog, "Comment: \"%s\"\n", comment ); |
| 474 | } |
| 475 | #endif |
| 476 | |
| 477 | // ! Comments are ignored. |
| 478 | |
| 479 | } // CommentHandler |
| 480 | |
| 481 | // ================================================================================================= |
| 482 |
nothing calls this directly
no test coverage detected