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

@ -21,4 +21,15 @@
}
%}
%rename("delete") std::stack::__delete__;
%rename("reject!") std::stack::reject_bang;
%rename("map!") std::stack::map_bang;
%rename("empty?") std::stack::empty;
%rename("include?" ) std::stack::__contains__ const;
%rename("has_key?" ) std::stack::has_key const;
%alias std::stack::push "<<";
%include <std/std_stack.i>