Fix C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7b82429333
commit
68f9f87e8d
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ strcpy($1, "");
|
||||||
$1 = %static_cast(CHAR(STRING_ELT($input, 0))[0],$1_ltype);
|
$1 = %static_cast(CHAR(STRING_ELT($input, 0))[0],$1_ltype);
|
||||||
}
|
}
|
||||||
|
|
||||||
%typemap(out,noblock=1) char
|
%typemap(out) char
|
||||||
{
|
{
|
||||||
char tmp[2] = "x";
|
char tmp[2] = "x";
|
||||||
tmp[0] = $1;
|
tmp[0] = $1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue