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:
parent
30d2e3d555
commit
aa987d6d65
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue