add missing typecheck codes and Char typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4c7f4ea9f7
commit
c0e78562a4
5 changed files with 21 additions and 13 deletions
|
|
@ -19,5 +19,6 @@ SWIG_pchar_descriptor()
|
|||
|
||||
|
||||
%include <typemaps/strings.swg>
|
||||
%typemaps_string(char, Char, SWIG_AsCharPtrAndSize, SWIG_FromCharPtrAndSize, strlen,
|
||||
%typemaps_string(%checkcode(STRING), %checkcode(CHAR),
|
||||
char, Char, SWIG_AsCharPtrAndSize, SWIG_FromCharPtrAndSize, strlen,
|
||||
"<limits.h>", CHAR_MIN, CHAR_MAX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue