| 534 | // ------------------------------------------------------------------------------------------------- |
| 535 | |
| 536 | void |
| 537 | WXMPMeta_SetArrayItem_1 ( XMPMetaRef xmpRef, |
| 538 | XMP_StringPtr schemaNS, |
| 539 | XMP_StringPtr arrayName, |
| 540 | XMP_Index itemIndex, |
| 541 | XMP_StringPtr itemValue, |
| 542 | XMP_OptionBits options, |
| 543 | WXMP_Result * wResult ) |
| 544 | { |
| 545 | XMP_ENTER_WRAPPER ( "WXMPMeta_SetArrayItem_1" ) |
| 546 | |
| 547 | if ( (schemaNS == 0) || (*schemaNS == 0) ) XMP_Throw ( "Empty schema namespace URI", kXMPErr_BadSchema ); |
| 548 | if ( (arrayName == 0) || (*arrayName == 0) ) XMP_Throw ( "Empty array name", kXMPErr_BadXPath ); |
| 549 | |
| 550 | XMPMeta * meta = WtoXMPMeta_Ptr ( xmpRef ); |
| 551 | meta->SetArrayItem ( schemaNS, arrayName, itemIndex, itemValue, options ); |
| 552 | |
| 553 | XMP_EXIT_WRAPPER |
| 554 | } |
| 555 | |
| 556 | // ------------------------------------------------------------------------------------------------- |
| 557 |
nothing calls this directly
no test coverage detected