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
|
|
@ -28,18 +28,9 @@
|
|||
#define %swig_vector_methods(Type...) %swig_sequence_methods(Type)
|
||||
#define %swig_vector_methods_val(Type...) %swig_sequence_methods_val(Type);
|
||||
|
||||
#if defined(SWIG_RUBY_AUTORENAME)
|
||||
|
||||
%rename("empty?") std::vector::empty;
|
||||
%ignore std::vector::push_back;
|
||||
%ignore std::vector::pop_back;
|
||||
%alias std::vector::push "<<";
|
||||
|
||||
#else
|
||||
%rename("empty?") std::vector::empty;
|
||||
%ignore std::vector::push_back;
|
||||
%ignore std::vector::pop_back;
|
||||
%alias std::vector::push "<<";
|
||||
#endif
|
||||
%mixin std::vector "Enumerable";
|
||||
%ignore std::vector::push_back;
|
||||
%ignore std::vector::pop_back;
|
||||
%alias std::vector::push "<<";
|
||||
|
||||
%include <std/std_vectora.i>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue