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:
Joseph Wang 2009-01-12 08:54:36 +00:00
commit 88e60d75c9

View file

@ -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)