put the swig::PyObject_var and swig::PyObject_ptr in the pyclass.swg file, to use them in more places
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
73a821d0b6
commit
11b237dddd
5 changed files with 148 additions and 88 deletions
|
|
@ -3,8 +3,7 @@
|
|||
*/
|
||||
%include <pycontainer.swg>
|
||||
|
||||
%fragment("StdPairTraits","header",
|
||||
fragment="StdTraits",fragment="PyObject_var") {
|
||||
%fragment("StdPairTraits","header",fragment="StdTraits") {
|
||||
namespace swig {
|
||||
template <class T, class U >
|
||||
struct traits_asptr<std::pair<T,U> > {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue