Adjust for the elimination of the "float" and "complex" types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
23a5fecc60
commit
21ca5a854c
17 changed files with 76 additions and 77 deletions
|
|
@ -8,7 +8,7 @@ func main() {
|
|||
panic("blah(int)")
|
||||
}
|
||||
|
||||
if f.Blah(float64(3.5)).(float64) != 3.5 {
|
||||
if f.Blah(3.5) != 3.5 {
|
||||
panic("blah(double)")
|
||||
}
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ func main() {
|
|||
panic("blah(int,int)")
|
||||
}
|
||||
|
||||
if f.Blah(float64(3.5), float64(7.5)).(float64) != (3.5 + 7.5) {
|
||||
if f.Blah(3.5, 7.5) != (3.5 + 7.5) {
|
||||
panic("blah(double,double)")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue