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:
parent
a48ccb50a6
commit
35cac0f07f
2 changed files with 10 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue