fix missed ANY temporal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7c6097b392
commit
4b828ef358
1 changed files with 4 additions and 3 deletions
|
|
@ -113,10 +113,11 @@
|
|||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
|
||||
%typemap(in) char [ANY]
|
||||
{
|
||||
SPyObj_AsCharArray($input, $1, $1_dim0);
|
||||
%typemap(in) char [ANY] (char temp[$1_dim0])
|
||||
{
|
||||
SPyObj_AsCharArray($input, temp, $1_dim0);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
$1 = temp;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue