remove numeric coercion which seems to be unnecessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bea5f1d47b
commit
5993327dc0
1 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@
|
||||||
|
|
||||||
%typemap(scoercein) bool, bool *, bool &
|
%typemap(scoercein) bool, bool *, bool &
|
||||||
"$input = as.logical($input) ";
|
"$input = as.logical($input) ";
|
||||||
|
/*
|
||||||
%typemap(scoercein) int,
|
%typemap(scoercein) int,
|
||||||
int *,
|
int *,
|
||||||
int &,
|
int &,
|
||||||
|
|
@ -119,7 +119,7 @@
|
||||||
long*,
|
long*,
|
||||||
long long *
|
long long *
|
||||||
%{ $input = as.numeric($input) %}
|
%{ $input = as.numeric($input) %}
|
||||||
|
*/
|
||||||
|
|
||||||
%typemap(scoercein) char *, string, std::string,
|
%typemap(scoercein) char *, string, std::string,
|
||||||
string &, std::string &
|
string &, std::string &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue