[R] Fix CopyToR() generated for struct in namespace
Fixes https://sourceforge.net/p/swig/bugs/1147/
This commit is contained in:
parent
25f996a5c8
commit
7813793511
5 changed files with 25 additions and 1 deletions
8
Examples/test-suite/namespace_struct.i
Normal file
8
Examples/test-suite/namespace_struct.i
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
%module namespace_struct
|
||||
|
||||
%inline %{
|
||||
|
||||
// SWIG/R generated bad code for copyToR for a struct in a namespace in SWIG < 4.1.0
|
||||
namespace X { struct Y { int x, y; }; }
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue