diff options
author | Pavel Hrdina <phrdina@redhat.com> | 2015-09-22 10:33:57 +0200 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2015-10-05 08:35:05 +0200 |
commit | a7d71b769d8e3d59515d1b9517ec5d4e0214b743 (patch) | |
tree | dbdd69b316b1d841245102895929b51522e39b73 /libvirt-lxc-override.c | |
parent | 46b950790565708733ac5b4e3938cf87bac24cbb (diff) | |
download | libvirt-python-a7d71b769d8e3d59515d1b9517ec5d4e0214b743.tar.gz |
Move utils and shared code into libvirt-utils
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'libvirt-lxc-override.c')
-rw-r--r-- | libvirt-lxc-override.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libvirt-lxc-override.c b/libvirt-lxc-override.c index d0d9ffd..e0d3e60 100644 --- a/libvirt-lxc-override.c +++ b/libvirt-lxc-override.c @@ -47,13 +47,6 @@ extern void initcygvirtmod_lxc(void); do {} while (0) #endif -/* The two-statement sequence "Py_INCREF(Py_None); return Py_None;" - is so common that we encapsulate it here. Now, each use is simply - return VIR_PY_NONE; */ -#define VIR_PY_NONE (Py_INCREF (Py_None), Py_None) -#define VIR_PY_INT_FAIL (libvirt_intWrap(-1)) -#define VIR_PY_INT_SUCCESS (libvirt_intWrap(0)) - /************************************************************************ * * * Statistics * |