Fixed [ 811518 ] Casting ints to doubles (w/ solution?)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-09-30 17:35:18 +00:00
commit aa987d6d65

View file

@ -450,7 +450,7 @@
float, double, float, double,
const float &, const double & const float &, const double &
{ {
$1 = SvNOK($input) ? 1 : 0; $1 = SvNIOK($input) ? 1 : 0;
} }
%typecheck(SWIG_TYPECHECK_CHAR) char { %typecheck(SWIG_TYPECHECK_CHAR) char {