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:
Joseph Wang 2008-05-08 02:39:52 +00:00
commit ebf910f755

View file

@ -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]
%{