MSYS2: fix creation of ProgressIndicatorPy
This commit is contained in:
@@ -43,6 +43,21 @@ void ProgressIndicatorPy::init_type()
|
||||
add_varargs_method("stop",&ProgressIndicatorPy::stop,"stop()");
|
||||
}
|
||||
|
||||
Py::PythonType& ProgressIndicatorPy::behaviors()
|
||||
{
|
||||
return Py::PythonExtension<ProgressIndicatorPy>::behaviors();
|
||||
}
|
||||
|
||||
PyTypeObject* ProgressIndicatorPy::type_object()
|
||||
{
|
||||
return Py::PythonExtension<ProgressIndicatorPy>::type_object();
|
||||
}
|
||||
|
||||
bool ProgressIndicatorPy::check(PyObject* p)
|
||||
{
|
||||
return Py::PythonExtension<ProgressIndicatorPy>::check(p);
|
||||
}
|
||||
|
||||
PyObject *ProgressIndicatorPy::PyMake(struct _typeobject *, PyObject *, PyObject *)
|
||||
{
|
||||
return new ProgressIndicatorPy();
|
||||
|
||||
@@ -35,6 +35,9 @@ class BaseExport ProgressIndicatorPy : public Py::PythonExtension<ProgressIndica
|
||||
{
|
||||
public:
|
||||
static void init_type(); // announce properties and methods
|
||||
static Py::PythonType& behaviors();
|
||||
static PyTypeObject* type_object();
|
||||
static bool check(PyObject* p);
|
||||
|
||||
ProgressIndicatorPy();
|
||||
~ProgressIndicatorPy() override;
|
||||
|
||||
Reference in New Issue
Block a user