SWIG : Unable to access constructor with double pointer
I am new to SWIG. I have created a python module to use c++ classes. My cpp header code is GradedComplex.h : class GradedComplex { public: typedef std::complex<double> dcomplex; typedef Item<dcomplex> item_type; typedef ItemComparator<dcomplex> comparator; typedef std::set<item_type, comparator> grade_type; private: int n_; std::vector<grade_type *> grade_; std::vector<double> thre_; public: GradedComplex(int n, double *thre); ~GradedComplex(); void push(item_type item); void avg(double *buf); }; And CPP code is #include <iostream> #include "GradedComplex.h" using namespace std; GradedComplex: