Removed older renames.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-05-16 21:28:20 +00:00
commit 361a5d67b4

View file

@ -199,25 +199,3 @@ namespace swig {
}
}
}
//
// Common renames for STL functions.
// Sadly, SWIG's name matching is still primitive, so:
//
// std::*::push_back is not valid
//
// Also, since these get run inside templates, putting
// the rename inside the template %extend section is no good
// either.
//
%rename("delete") *::__delete__;
%rename("reject!") *::reject_bang;
%rename("map!") *::map_bang;
%rename("push") *::push_back;
%rename("pop") *::pop_back;
%rename("empty?") *::empty;
%rename("include?" ) *::__contains__ const;
%rename("has_key?" ) *::has_key const;
%alias push "<<";
%alias push_back "<<";