fix typo in int definition
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
77a353a6ba
commit
a18af913fb
1 changed files with 3 additions and 2 deletions
|
|
@ -38,9 +38,10 @@
|
|||
|
||||
%typemap("rtypecheck") int, int &, long, long &,
|
||||
unsigned char, unsigned char &
|
||||
%{ is.integer($arg) || is.numeric($arg) %}
|
||||
%typemap("rtypecheck") int *, long *, unsigned char *
|
||||
%{ (is.integer($arg) || is.numeric($arg)) && length($arg) == 1 %}
|
||||
%typemap("rtypecheck") int *, long *, unsigned char *
|
||||
%{ is.integer($arg) || is.numeric($arg) %}
|
||||
|
||||
|
||||
%typemap("rtypecheck") double, double &, float, float &
|
||||
%{ is.numeric($arg) && length($arg) == 1 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue