diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2007-03-13 22:22:31 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2007-03-13 22:22:31 +0100 |
commit | b97d510a9dd3f7d220d8543a9087c554bf96d6ee (patch) | |
tree | b4b92c8e9a8bc87020e68c8f5b05446d40ef4060 /src/libpyexiv2.hpp | |
parent | 1b48deeb7952c27e8dba6c5b3c702efc5e582a65 (diff) | |
download | pyexiv2-b97d510a9dd3f7d220d8543a9087c554bf96d6ee.tar.gz |
Modified method Image::deleteIptcTag(...) to take into account the possibility for an IPTC tag to be repeatable.
Diffstat (limited to 'src/libpyexiv2.hpp')
-rw-r--r-- | src/libpyexiv2.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libpyexiv2.hpp b/src/libpyexiv2.hpp index 514094a..f9cf19c 100644 --- a/src/libpyexiv2.hpp +++ b/src/libpyexiv2.hpp @@ -108,8 +108,12 @@ namespace LibPyExiv2 // Delete the required IPTC tag and return a tuple containing the // type and previous value. - // Throw an exception if the tag was not set. - boost::python::tuple deleteIptcTag(std::string key); + // If the key references a repeatable tag, the parameter index (starting + // from 0 like a list index) is used to determine which of the + // repetitions is to be deleted. + // Throw an exception if the tag was not set or if the index is greater + // than the highest existing one. + boost::python::tuple deleteIptcTag(std::string key, unsigned int index); // Read and write access to the thumbnail embedded in the image. |