Use swig::PyObject_ptr name instead of swig::PyItem

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-11-08 16:01:15 +00:00
commit 3517fd7dea
4 changed files with 17 additions and 10 deletions

View file

@ -29,8 +29,8 @@ namespace std
%template(pairiiAc) pair<int,const pair<int, A*> >;
%template() pair<swig::PyItem, swig::PyItem>;
%template(pymap) map<swig::PyItem, swig::PyItem>;
%template() pair<swig::PyObject_ptr, swig::PyObject_ptr>;
%template(pymap) map<swig::PyObject_ptr, swig::PyObject_ptr>;
}

View file

@ -14,4 +14,4 @@
%template(pyset) std::set<swig::PyItem>;
%template(pyset) std::set<swig::PyObject_ptr>;

View file

@ -121,4 +121,4 @@ std::vector<std::string> vecStr(std::vector<std::string> v) {
%array_functions(int,ArrInt)
%template(pyvector) std::vector<swig::PyItem>;
%template(pyvector) std::vector<swig::PyObject_ptr>;