Polymorphism in R wrappers fixed for C++ structs
This commit is contained in:
parent
cfd2557cda
commit
1d73341aa4
10 changed files with 68 additions and 8 deletions
|
|
@ -30,3 +30,8 @@ x = typedef_inherit.do_blah2(d);
|
|||
if (!strcmp(x,"Grok::blah"))
|
||||
error("Whoa! Bad return", x)
|
||||
endif
|
||||
|
||||
x = d.far();
|
||||
if (!strcmp(x,"Spam::far"))
|
||||
error("Whoa! Bad return", x)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue