Rename fixes to STL.
Removed object reporting in non-verbose from newobject demos. Made wstring treat them as normal strings as advertised. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4cd98d3865
commit
81c84b7e8c
16 changed files with 131 additions and 125 deletions
|
|
@ -45,7 +45,6 @@
|
|||
return x;
|
||||
}
|
||||
|
||||
%rename("include?") __contains__;
|
||||
bool __contains__(const value_type& x) {
|
||||
return self->find(x) != self->end();
|
||||
}
|
||||
|
|
@ -57,17 +56,7 @@
|
|||
};
|
||||
%enddef
|
||||
|
||||
#if defined(SWIG_RUBY_AUTORENAME)
|
||||
|
||||
%mixin std::set "Enumerable";
|
||||
%rename("empty?") std::set::empty;
|
||||
|
||||
#else
|
||||
|
||||
%mixin std::set "Enumerable";
|
||||
%rename("empty?") std::set::empty;
|
||||
|
||||
#endif
|
||||
|
||||
%mixin std::set "Enumerable";
|
||||
|
||||
%include <std/std_set.i>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue