remove numerical conversion in corecions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
da8791792b
commit
ebf910f755
1 changed files with 8 additions and 3 deletions
|
|
@ -45,9 +45,9 @@
|
|||
%typemap(scoercein) unsigned int, unsigned int *, unsigned int &
|
||||
%{ $input = as($input, "integer"); %}
|
||||
%typemap(scoercein) double, double *, double &
|
||||
%{ $input = as($input, "numeric"); %}
|
||||
%{ %}
|
||||
%typemap(scoercein) float, float *, float &
|
||||
%{ $input = as($input, "numeric"); %}
|
||||
%{ %}
|
||||
%typemap(scoercein) char, char *, char &
|
||||
%{ $input = as($input, "character"); %}
|
||||
%typemap(scoercein) string, string *, string &
|
||||
|
|
@ -61,6 +61,11 @@
|
|||
%typemap(scoercein) enum SWIGTYPE *
|
||||
%{ $input = enumToInteger($input, "$R_class") %}
|
||||
|
||||
|
||||
%typemap(scoercein) SWIGTYPE, SWIGTYPE *, SWIGTYPE &
|
||||
%{ %}
|
||||
|
||||
/*
|
||||
%typemap(scoercein) SWIGTYPE *
|
||||
%{ $input = coerceIfNotSubclass($input, "$R_class") %}
|
||||
|
||||
|
|
@ -69,7 +74,7 @@
|
|||
|
||||
%typemap(scoercein) SWIGTYPE
|
||||
%{ $input = coerceIfNotSubclass($input, "$&R_class") %}
|
||||
|
||||
*/
|
||||
|
||||
%typemap(scoercein) SWIGTYPE[ANY]
|
||||
%{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue