fix ruby std::vector to support element with nodefault constructors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-08 23:55:53 +00:00
commit 35cac0f07f
2 changed files with 10 additions and 8 deletions

View file

@ -7,7 +7,7 @@
%ignore std::vector<Flow>::resize(size_type);
#endif
#if defined(SWIGTCL) || defined(SWIGPERL)
#if defined(SWIGTCL) || defined(SWIGPERL) || defined(SWIGRUBY)
#define SWIG_GOOD_VECTOR
/* here, for languages with bad declaration */
%ignore std::vector<Flow>::vector(unsigned int);