Apply Ubuntu patch to fix Ruby and std::vector wrappers with -minherit.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
242689aed5
commit
894f89fe97
3 changed files with 14 additions and 1 deletions
|
|
@ -75,3 +75,8 @@ int wget(SpamPtr f) {
|
|||
|
||||
#endif
|
||||
|
||||
|
||||
// Was causing runtime error in Ruby
|
||||
%include <std_vector.i>
|
||||
%template(IntVector) std::vector<int>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue