delete unused line
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5023285fb8
commit
d809efcb2f
1 changed files with 0 additions and 1 deletions
|
|
@ -139,7 +139,6 @@ SWIGINTERNSHORT PyObject *
|
||||||
SWIG_FromCharArray(const char* carray, size_t size)
|
SWIG_FromCharArray(const char* carray, size_t size)
|
||||||
{
|
{
|
||||||
if (size > INT_MAX) {
|
if (size > INT_MAX) {
|
||||||
SWIG_NewPointerObj(SWIG_const_cast(carray,char*), SWIG_TypeQuery("char *"), 0);
|
|
||||||
return Py_None;
|
return Py_None;
|
||||||
} else {
|
} else {
|
||||||
return PyString_FromStringAndSize(carray, SWIG_numeric_cast(size,int));
|
return PyString_FromStringAndSize(carray, SWIG_numeric_cast(size,int));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue