summaryrefslogtreecommitdiff
path: root/python/sourcelist.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-10 19:13:16 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-10 19:13:16 +0200
commit2d8f74890d6203c669db960c7108cad7f45c3a70 (patch)
treeb9ad30e449a1e74c16363b3bc300c46b47b70163 /python/sourcelist.cc
parentc0818a4cdadb30ccb2ea9d63a6e81fa1a39394d6 (diff)
downloadpython-apt-2d8f74890d6203c669db960c7108cad7f45c3a70.tar.gz
python/generic.h: Introduce NoDelete field in CppPyObject.
Setting NoDelete to true causes the deallocation functions to not delete the underlying C++ object. This is useful in situations where the object is already managed somewhere else, e.g. DepCache by CacheFile. It will also assist us in providing a flexible C++ API which only takes ownership if requested.
Diffstat (limited to 'python/sourcelist.cc')
0 files changed, 0 insertions, 0 deletions