diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-10 19:13:16 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-10 19:13:16 +0200 |
| commit | 2d8f74890d6203c669db960c7108cad7f45c3a70 (patch) | |
| tree | b9ad30e449a1e74c16363b3bc300c46b47b70163 /python/sourcelist.cc | |
| parent | c0818a4cdadb30ccb2ea9d63a6e81fa1a39394d6 (diff) | |
| download | python-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
