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:
William S Fulton 2010-04-09 23:27:40 +00:00
commit 894f89fe97
3 changed files with 14 additions and 1 deletions

View file

@ -75,3 +75,8 @@ int wget(SpamPtr f) {
#endif
// Was causing runtime error in Ruby
%include <std_vector.i>
%template(IntVector) std::vector<int>;