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:
parent
d4eec2670b
commit
361a5d67b4
1 changed files with 0 additions and 22 deletions
|
|
@ -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 "<<";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue