The source project of this merge request has been removed.
Fix gexiv2_metadata_try_get_tag_multiple() xmpText/langAlt return values
requested to merge (removed):postscript-dev/fix-xmpText-and-langAlt-for-try_get_tag_multiple into master
Function returns incorrect values when tag is of type xmpText or altLang (see gexiv2 Issue #61 (closed)).
Fix changes the return value format and is only implemented for recently created gexiv2_metadata_try_get_tag_multiple(). For backwards compatibility, the old format is preserved in gexiv2_metadata_get_tag_multiple().
Changes:
-
Create gexiv2_metadata_get_xmp_tag_multiple_deprecated() to preserve the existing format. Change gexiv2_metadata_get_tag_multiple() to use this function.
-
Fix gexiv2_metadata_try_get_xml_tag_multiple() to return correct values when tag is of type xmpText and xmpAlt.
-
Added documentation to gexiv2-metadata.h explaining returns values.
-
Change NULL to nullptr as part of modernisation.