Skip to content

Commit 6b52cec

Browse files
test
1 parent 9e4f088 commit 6b52cec

File tree

7 files changed

+16
-7
lines changed

7 files changed

+16
-7
lines changed

dynamsoft_barcode_reader_bundle/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "4.0.10.8511"
1+
__version__ = "4.0.10.8527"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftCore

dynamsoft_barcode_reader_bundle/cvr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.0.10.8511"
1+
__version__ = "3.0.10.8527"
22

33
if __package__ or "." in __name__:
44
from .core import *

dynamsoft_barcode_reader_bundle/dbr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "11.0.10.8511"
1+
__version__ = "11.0.10.8527"
22

33
if __package__ or "." in __name__:
44
from .core import *

dynamsoft_barcode_reader_bundle/dip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.0.10.8511"
1+
__version__ = "3.0.10.8527"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftImageProcessing

dynamsoft_barcode_reader_bundle/license.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "4.0.10.8511"
1+
__version__ = "4.0.10.8527"
22

33
if __package__ or "." in __name__:
44
from . import _DynamsoftLicense

dynamsoft_barcode_reader_bundle/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.0.10.8511"
1+
__version__ = "2.0.10.8527"
22

33
if __package__ or "." in __name__:
44
from .cvr import *

src/DynamsoftCaptureVisionRouter_wrap.cxx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14683,6 +14683,9 @@ extern "C"
1468314683
int res4 = 0;
1468414684
int val4 = 0;
1468514685
PyObject *swig_obj[4];
14686+
PyObject *obj2;
14687+
PyObject *tuple;
14688+
const char* errMsg;
1468614689
int result = 0;
1468714690
if (!SWIG_Python_UnpackTuple(args, "CCaptureVisionRouter_AppendModelBuffer", 4, 4, swig_obj))
1468814691
SWIG_fail;
@@ -14737,10 +14740,16 @@ extern "C"
1473714740
arg4 = static_cast<int>(val4);
1473814741

1473914742
result = arg1->AppendModelBuffer(argModel, (const unsigned char*)arg2, arg3, arg4);
14743+
errMsg = DC_GetErrorString(result);
1474014744
resultobj = SWIG_From_int(static_cast<int>(result));
14745+
obj2 = PyUnicode_FromString(errMsg);
14746+
tuple = PyTuple_New(2);
14747+
PyTuple_SetItem(tuple, 0, resultobj);
14748+
PyTuple_SetItem(tuple, 1, obj2);
14749+
1474114750
if (allocModel == SWIG_NEWOBJ)
1474214751
delete[] bufModel;
14743-
return resultobj;
14752+
return tuple;
1474414753
fail:
1474514754
if (allocModel == SWIG_NEWOBJ)
1474614755
delete[] bufModel;

0 commit comments

Comments
 (0)