Change mapping for C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ba4a32e059
commit
5cd249c330
1 changed files with 2 additions and 1 deletions
|
|
@ -1309,7 +1309,8 @@
|
|||
%enddef
|
||||
|
||||
/* Basic C types */
|
||||
%typemap(varout,noblock=1) signed char { SCILAB_SCALAR_VAROUT(signed char, createMatrixOfInteger8) }
|
||||
/* 'signed char' casted to 'char' because C++ refuses to call createMatrixOfInteger8 with a 'signed char' 5th input */
|
||||
%typemap(varout,noblock=1) signed char { SCILAB_SCALAR_VAROUT(char, createMatrixOfInteger8) }
|
||||
%typemap(varout,noblock=1) unsigned char { SCILAB_SCALAR_VAROUT(unsigned char, createMatrixOfUnsignedInteger8) }
|
||||
%typemap(varout,noblock=1) signed short { SCILAB_SCALAR_VAROUT(signed short, createMatrixOfInteger16) }
|
||||
%typemap(varout,noblock=1) unsigned short { SCILAB_SCALAR_VAROUT(unsigned short, createMatrixOfUnsignedInteger16) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue