@@ -6338,7 +6338,7 @@ SWIGINTERN PyObject *_wrap_ExifData_iterator_copy(PyObject *self, PyObject *args
63386338 Exiv2::ByteOrder arg3 ;
63396339 void *argp1 = 0 ;
63406340 int res1 = 0 ;
6341- Py_buffer _global_view ;
6341+ Py_buffer _global_buff ;
63426342 PyObject * obj1 = 0 ;
63436343 PyObject * obj2 = 0 ;
63446344 long result;
@@ -6350,14 +6350,14 @@ SWIGINTERN PyObject *_wrap_ExifData_iterator_copy(PyObject *self, PyObject *args
63506350 }
63516351 arg1 = reinterpret_cast < ExifData_iterator * >(argp1);
63526352 {
6353- _global_view .obj = NULL ;
6353+ _global_buff .obj = NULL ;
63546354 if (PyObject_GetBuffer (
6355- obj1, &_global_view , PyBUF_CONTIG | PyBUF_WRITABLE) < 0 ) {
6355+ obj1, &_global_buff , PyBUF_CONTIG | PyBUF_WRITABLE) < 0 ) {
63566356 PyErr_Clear ();
63576357 SWIG_exception_fail (SWIG_ArgError (SWIG_TypeError), " in method '" " ExifData_iterator_copy" " ', argument " " 2" " of type '" " writable bytes-like object" " '" )
63586358 ;
63596359 }
6360- arg2 = (Exiv2::byte *) _global_view .buf ;
6360+ arg2 = (Exiv2::byte *) _global_buff .buf ;
63616361 }
63626362 {
63636363 if (!PyObject_IsInstance (obj2,
@@ -6374,7 +6374,7 @@ SWIGINTERN PyObject *_wrap_ExifData_iterator_copy(PyObject *self, PyObject *args
63746374 }
63756375 {
63766376 // check buffer is large enough, assumes arg1 points to self
6377- if ((Py_ssize_t) arg1->size () > _global_view .len ) {
6377+ if ((Py_ssize_t) arg1->size () > _global_buff .len ) {
63786378 SWIG_exception_fail (SWIG_ArgError (SWIG_ValueError), " in method '" " ExifData_iterator_copy" " ', argument " " 2" " of type '" " buffer too small" " '" )
63796379 ;
63806380 }
@@ -6390,15 +6390,15 @@ SWIGINTERN PyObject *_wrap_ExifData_iterator_copy(PyObject *self, PyObject *args
63906390 }
63916391 resultobj = SWIG_From_long (static_cast < long >(result));
63926392
6393- if (_global_view .obj ) {
6394- PyBuffer_Release (&_global_view );
6393+ if (_global_buff .obj ) {
6394+ PyBuffer_Release (&_global_buff );
63956395 }
63966396
63976397 return resultobj;
63986398fail:
63996399
6400- if (_global_view .obj ) {
6401- PyBuffer_Release (&_global_view );
6400+ if (_global_buff .obj ) {
6401+ PyBuffer_Release (&_global_buff );
64026402 }
64036403
64046404 return NULL ;
@@ -7805,7 +7805,7 @@ SWIGINTERN PyObject *_wrap_Exifdatum_copy(PyObject *self, PyObject *args) {
78057805 Exiv2::ByteOrder arg3 ;
78067806 void *argp1 = 0 ;
78077807 int res1 = 0 ;
7808- Py_buffer _global_view ;
7808+ Py_buffer _global_buff ;
78097809 PyObject * obj1 = 0 ;
78107810 PyObject * obj2 = 0 ;
78117811 long result;
@@ -7817,14 +7817,14 @@ SWIGINTERN PyObject *_wrap_Exifdatum_copy(PyObject *self, PyObject *args) {
78177817 }
78187818 arg1 = reinterpret_cast < Exiv2::Exifdatum * >(argp1);
78197819 {
7820- _global_view .obj = NULL ;
7820+ _global_buff .obj = NULL ;
78217821 if (PyObject_GetBuffer (
7822- obj1, &_global_view , PyBUF_CONTIG | PyBUF_WRITABLE) < 0 ) {
7822+ obj1, &_global_buff , PyBUF_CONTIG | PyBUF_WRITABLE) < 0 ) {
78237823 PyErr_Clear ();
78247824 SWIG_exception_fail (SWIG_ArgError (SWIG_TypeError), " in method '" " Exifdatum_copy" " ', argument " " 2" " of type '" " writable bytes-like object" " '" )
78257825 ;
78267826 }
7827- arg2 = (Exiv2::byte *) _global_view .buf ;
7827+ arg2 = (Exiv2::byte *) _global_buff .buf ;
78287828 }
78297829 {
78307830 if (!PyObject_IsInstance (obj2,
@@ -7841,7 +7841,7 @@ SWIGINTERN PyObject *_wrap_Exifdatum_copy(PyObject *self, PyObject *args) {
78417841 }
78427842 {
78437843 // check buffer is large enough, assumes arg1 points to self
7844- if ((Py_ssize_t) arg1->size () > _global_view .len ) {
7844+ if ((Py_ssize_t) arg1->size () > _global_buff .len ) {
78457845 SWIG_exception_fail (SWIG_ArgError (SWIG_ValueError), " in method '" " Exifdatum_copy" " ', argument " " 2" " of type '" " buffer too small" " '" )
78467846 ;
78477847 }
@@ -7857,15 +7857,15 @@ SWIGINTERN PyObject *_wrap_Exifdatum_copy(PyObject *self, PyObject *args) {
78577857 }
78587858 resultobj = SWIG_From_long (static_cast < long >(result));
78597859
7860- if (_global_view .obj ) {
7861- PyBuffer_Release (&_global_view );
7860+ if (_global_buff .obj ) {
7861+ PyBuffer_Release (&_global_buff );
78627862 }
78637863
78647864 return resultobj;
78657865fail:
78667866
7867- if (_global_view .obj ) {
7868- PyBuffer_Release (&_global_view );
7867+ if (_global_buff .obj ) {
7868+ PyBuffer_Release (&_global_buff );
78697869 }
78707870
78717871 return NULL ;
0 commit comments