aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpyexiv2.hpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2007-03-30 22:57:31 +0200
committerOlivier Tilloy <olivier@tilloy.net>2007-03-30 22:57:31 +0200
commit875b5a6e2c3e37f4107f563485f6063f395315f7 (patch)
tree2fedb828a5ec8ccb4365ff4fba7594c7a06d0c1d /src/libpyexiv2.hpp
parentffb6b75a2b3229a97e40f7dea223520d29c608bc (diff)
downloadpyexiv2-875b5a6e2c3e37f4107f563485f6063f395315f7.tar.gz
Internally renamed methods getAvailableExifTags() and getAvailableIptcTags() to exifKeys() and iptcKeys().
Changed the type of exception raised when trying to get a value corresponding to an invalid IPTC key (TypeError, to comply with http://docs.python.org/ref/sequence-types.html).
Diffstat (limited to 'src/libpyexiv2.hpp')
-rw-r--r--src/libpyexiv2.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libpyexiv2.hpp b/src/libpyexiv2.hpp
index 7178886..736d1cf 100644
--- a/src/libpyexiv2.hpp
+++ b/src/libpyexiv2.hpp
@@ -54,7 +54,7 @@ namespace LibPyExiv2
// Return a list of all the keys of available EXIF tags set in the
// image.
- boost::python::list getAvailableExifTags();
+ boost::python::list exifKeys();
// Return a tuple containing the type (as a string) and the value
// (as a string as well) of the required EXIF tag.
@@ -83,7 +83,7 @@ namespace LibPyExiv2
// Returns a list of all the keys of available IPTC tags set in the
// image. This list has no duplicates: each of its items is unique,
// even if a tag is present more than once.
- boost::python::list getAvailableIptcTags();
+ boost::python::list iptcKeys();
// Return a list of tuples, each containing the type (as a string) and
// the value (as a string as well) of the required IPTC tag.