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:
Marcelo Matus 2005-11-08 15:58:08 +00:00
commit 11b237dddd
5 changed files with 148 additions and 88 deletions

View file

@ -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> > {