diff options
Diffstat (limited to 'python/opprogress.cc')
| -rw-r--r-- | python/opprogress.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/python/opprogress.cc b/python/opprogress.cc index ba9acd14..d3738904 100644 --- a/python/opprogress.cc +++ b/python/opprogress.cc @@ -19,16 +19,11 @@ */ #include "generic.h" +#include "progress.h" #include <Python.h> #include <structmember.h> -typedef struct { - PyObject_HEAD - PyObject *op; - PyObject *subop; - int major_change; - float percent; -} PyOpProgressObject; + static PyObject *opprogress_update(PyObject *Self, PyObject *args) { |
