aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper_python.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-11-17 09:59:46 +0100
committerOlivier Tilloy <olivier@tilloy.net>2009-11-17 09:59:46 +0100
commit2d31c731eed0c555faab0845f5196a0320a219c5 (patch)
tree1f6b8505303dfc101ddd92f822c84de42961f4b4 /src/exiv2wrapper_python.cpp
parentf8d8d3b515f58f85c98cf5853eb8b5d47c47e6dc (diff)
downloadpyexiv2-2d31c731eed0c555faab0845f5196a0320a219c5.tar.gz
Instantiate an _IptcTag from an Exiv2::IptcMetadata (vector of Iptcdatum).
Diffstat (limited to 'src/exiv2wrapper_python.cpp')
-rw-r--r--src/exiv2wrapper_python.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exiv2wrapper_python.cpp b/src/exiv2wrapper_python.cpp
index 1c2bdf9..c3ffa5d 100644
--- a/src/exiv2wrapper_python.cpp
+++ b/src/exiv2wrapper_python.cpp
@@ -61,9 +61,9 @@ BOOST_PYTHON_MODULE(libexiv2python)
.def("_getHumanValue", &ExifTag::getHumanValue)
;
- class_<IptcTag>("IptcTag", init<std::string>())
+ class_<IptcTag>("_IptcTag", init<std::string>())
- .def("_setValue", &IptcTag::setValue)
+ .def("_setRawValues", &IptcTag::setRawValues)
.def("_getKey", &IptcTag::getKey)
.def("_getType", &IptcTag::getType)
@@ -74,7 +74,7 @@ BOOST_PYTHON_MODULE(libexiv2python)
.def("_isRepeatable", &IptcTag::isRepeatable)
.def("_getRecordName", &IptcTag::getRecordName)
.def("_getRecordDescription", &IptcTag::getRecordDescription)
- .def("_getValue", &IptcTag::getValue)
+ .def("_getRawValues", &IptcTag::getRawValues)
;
class_<Image>("Image", init<std::string>())