diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-16 19:36:58 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-16 19:36:58 +0200 |
| commit | 0153cede3726849504b04dabdebc8460c1c0fc91 (patch) | |
| tree | 97519b677c42cab89faa794621713664a17473f9 /python/opprogress.cc | |
| parent | 7e5b2dee624fb0fb7a6536cfdc74d30eeca8ffbe (diff) | |
| download | python-apt-0153cede3726849504b04dabdebc8460c1c0fc91.tar.gz | |
python/progress.h: Add Py{Acquire,Op}ProgressObject.
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) { |
