Fixed renames of std_* containers to a safer

%rename directive.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-05-16 21:27:08 +00:00
commit d4eec2670b
9 changed files with 90 additions and 4 deletions

View file

@ -404,4 +404,16 @@
%mixin std::map "Enumerable";
%include <rubystdfunctors.swg>
%rename("delete") std::map::__delete__;
%rename("reject!") std::map::reject_bang;
%rename("map!") std::map::map_bang;
%rename("empty?") std::map::empty;
%rename("include?" ) std::map::__contains__ const;
%rename("has_key?" ) std::map::has_key const;
%alias std::map::push "<<";
%include <std/std_map.i>