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:
parent
863964e617
commit
3517fd7dea
4 changed files with 17 additions and 10 deletions
|
|
@ -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>;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@
|
|||
|
||||
|
||||
|
||||
%template(pyset) std::set<swig::PyItem>;
|
||||
%template(pyset) std::set<swig::PyObject_ptr>;
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue