@@ -4367,7 +4367,11 @@ SWIGINTERN PyObject *_wrap_dateTimeOriginal(PyObject *self, PyObject *args) {
43674367
43684368 {
43694369 try {
4370+ #if EXIV2_TEST_VERSION(0, 27, 4)
43704371 result = Exiv2::dateTimeOriginal ((Exiv2::ExifData const &)*arg1);
4372+ #else
4373+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
4374+ #endif
43714375 }
43724376 catch (std::exception const & e) {
43734377 _set_python_exception ();
@@ -5115,7 +5119,11 @@ SWIGINTERN PyObject *_wrap_shutterSpeedValue(PyObject *self, PyObject *args) {
51155119
51165120 {
51175121 try {
5122+ #if EXIV2_TEST_VERSION(0, 27, 4)
51185123 result = Exiv2::shutterSpeedValue ((Exiv2::ExifData const &)*arg1);
5124+ #else
5125+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5126+ #endif
51195127 }
51205128 catch (std::exception const & e) {
51215129 _set_python_exception ();
@@ -5159,7 +5167,11 @@ SWIGINTERN PyObject *_wrap_apertureValue(PyObject *self, PyObject *args) {
51595167
51605168 {
51615169 try {
5170+ #if EXIV2_TEST_VERSION(0, 27, 4)
51625171 result = Exiv2::apertureValue ((Exiv2::ExifData const &)*arg1);
5172+ #else
5173+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5174+ #endif
51635175 }
51645176 catch (std::exception const & e) {
51655177 _set_python_exception ();
@@ -5203,7 +5215,11 @@ SWIGINTERN PyObject *_wrap_brightnessValue(PyObject *self, PyObject *args) {
52035215
52045216 {
52055217 try {
5218+ #if EXIV2_TEST_VERSION(0, 27, 4)
52065219 result = Exiv2::brightnessValue ((Exiv2::ExifData const &)*arg1);
5220+ #else
5221+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5222+ #endif
52075223 }
52085224 catch (std::exception const & e) {
52095225 _set_python_exception ();
@@ -5247,7 +5263,11 @@ SWIGINTERN PyObject *_wrap_exposureBiasValue(PyObject *self, PyObject *args) {
52475263
52485264 {
52495265 try {
5266+ #if EXIV2_TEST_VERSION(0, 27, 4)
52505267 result = Exiv2::exposureBiasValue ((Exiv2::ExifData const &)*arg1);
5268+ #else
5269+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5270+ #endif
52515271 }
52525272 catch (std::exception const & e) {
52535273 _set_python_exception ();
@@ -5291,7 +5311,11 @@ SWIGINTERN PyObject *_wrap_maxApertureValue(PyObject *self, PyObject *args) {
52915311
52925312 {
52935313 try {
5314+ #if EXIV2_TEST_VERSION(0, 27, 4)
52945315 result = Exiv2::maxApertureValue ((Exiv2::ExifData const &)*arg1);
5316+ #else
5317+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5318+ #endif
52955319 }
52965320 catch (std::exception const & e) {
52975321 _set_python_exception ();
@@ -5379,7 +5403,11 @@ SWIGINTERN PyObject *_wrap_lightSource(PyObject *self, PyObject *args) {
53795403
53805404 {
53815405 try {
5406+ #if EXIV2_TEST_VERSION(0, 27, 4)
53825407 result = Exiv2::lightSource ((Exiv2::ExifData const &)*arg1);
5408+ #else
5409+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5410+ #endif
53835411 }
53845412 catch (std::exception const & e) {
53855413 _set_python_exception ();
@@ -5423,7 +5451,11 @@ SWIGINTERN PyObject *_wrap_flash(PyObject *self, PyObject *args) {
54235451
54245452 {
54255453 try {
5454+ #if EXIV2_TEST_VERSION(0, 27, 4)
54265455 result = Exiv2::flash ((Exiv2::ExifData const &)*arg1);
5456+ #else
5457+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5458+ #endif
54275459 }
54285460 catch (std::exception const & e) {
54295461 _set_python_exception ();
@@ -5555,7 +5587,11 @@ SWIGINTERN PyObject *_wrap_subjectArea(PyObject *self, PyObject *args) {
55555587
55565588 {
55575589 try {
5590+ #if EXIV2_TEST_VERSION(0, 27, 4)
55585591 result = Exiv2::subjectArea ((Exiv2::ExifData const &)*arg1);
5592+ #else
5593+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5594+ #endif
55595595 }
55605596 catch (std::exception const & e) {
55615597 _set_python_exception ();
@@ -5599,7 +5635,11 @@ SWIGINTERN PyObject *_wrap_flashEnergy(PyObject *self, PyObject *args) {
55995635
56005636 {
56015637 try {
5638+ #if EXIV2_TEST_VERSION(0, 27, 4)
56025639 result = Exiv2::flashEnergy ((Exiv2::ExifData const &)*arg1);
5640+ #else
5641+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5642+ #endif
56035643 }
56045644 catch (std::exception const & e) {
56055645 _set_python_exception ();
@@ -5643,7 +5683,11 @@ SWIGINTERN PyObject *_wrap_exposureIndex(PyObject *self, PyObject *args) {
56435683
56445684 {
56455685 try {
5686+ #if EXIV2_TEST_VERSION(0, 27, 4)
56465687 result = Exiv2::exposureIndex ((Exiv2::ExifData const &)*arg1);
5688+ #else
5689+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5690+ #endif
56475691 }
56485692 catch (std::exception const & e) {
56495693 _set_python_exception ();
@@ -5687,7 +5731,11 @@ SWIGINTERN PyObject *_wrap_sensingMethod(PyObject *self, PyObject *args) {
56875731
56885732 {
56895733 try {
5734+ #if EXIV2_TEST_VERSION(0, 27, 4)
56905735 result = Exiv2::sensingMethod ((Exiv2::ExifData const &)*arg1);
5736+ #else
5737+ throw Exiv2::Error (Exiv2::kerFunctionNotSupported);
5738+ #endif
56915739 }
56925740 catch (std::exception const & e) {
56935741 _set_python_exception ();
0 commit comments