summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-20 18:04:19 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-20 18:04:19 +0200
commit652a7312b21aa7121c0075c3c970d5f68fcdf648 (patch)
tree019f7b8df3a4011c5121d9530f6ed576f63a9f09 /python/apt_pkgmodule.h
parentc35f51be417e029a9ca4a571c3fcd7309634b21b (diff)
downloadpython-apt-652a7312b21aa7121c0075c3c970d5f68fcdf648.tar.gz
python/lock.cc: Introduce apt_pkg.SystemLock context manager.
This is the new alternative to pkgsystem_lock() and pkgsystem_unlock(), and is the recommended one.
Diffstat (limited to 'python/apt_pkgmodule.h')
-rw-r--r--python/apt_pkgmodule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.h b/python/apt_pkgmodule.h
index 1277ab60..de70c056 100644
--- a/python/apt_pkgmodule.h
+++ b/python/apt_pkgmodule.h
@@ -117,6 +117,7 @@ extern PyTypeObject PyAcquireProgress_Type;
extern PyTypeObject PyCdromProgress_Type;
extern PyTypeObject PyAcquireItemDesc_Type;
extern PyTypeObject PyAcquireWorker_Type;
+extern PyTypeObject PySystemLock_Type;
#include "python-apt.h"
#endif