if (!swig_type)
throw Base::Exception("Cannot find type information for requested type");
*ptr = SWIG_Python_NewPointerObj(obj,swig_type,own);
*ptr = SWIG_Python_NewPointerObj(NULL,obj,swig_type,own);
if (*ptr == 0)
throw Base::Exception("Cannot convert into requested type");