fix change to make compatible with integer framework
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2854ceef44
commit
88e60d75c9
1 changed files with 3 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ unittest(d$u, 0)
|
|||
|
||||
|
||||
la <- new("A");
|
||||
la@ui <- 5
|
||||
la@ui <- as.integer(5)
|
||||
# Removing the next line makes this fail in R 2.4
|
||||
la@str <- ""
|
||||
|
||||
|
|
@ -49,9 +49,10 @@ other = A()
|
|||
foo <- copyToC(la, other)
|
||||
|
||||
aa = A()
|
||||
aa$i = 201
|
||||
aa$i = as.integer(201)
|
||||
aa$d = pi
|
||||
aa$str = "foo"
|
||||
aa$ui = as.integer(0)
|
||||
copyToR(aa)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue