summaryrefslogtreecommitdiffstats
path: root/typewrappers.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-11-12 18:21:52 +0000
committerDaniel P. Berrange <berrange@redhat.com>2013-11-21 16:37:07 +0000
commit70ed0aa04043b6b58c86797c550e87d68472d835 (patch)
treea5dd9b8150fb2b3469b534c0c4fdf9630e36797d /typewrappers.c
parentfecf6c6e84afdc31a59fe9584c80008b80d99520 (diff)
downloadlibvirt-python-v7-70ed0aa04043b6b58c86797c550e87d68472d835.tar.gz
libvirt-python-v7-70ed0aa04043b6b58c86797c550e87d68472d835.tar.xz
libvirt-python-v7-70ed0aa04043b6b58c86797c550e87d68472d835.zip
Import VIR_ALLOC / VIR_ALLOC_N / VIR_REALLOC_N functions
Import the libvirt memory allocation functions, stripping the OOM testing and error reporting pieces. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'typewrappers.c')
-rw-r--r--typewrappers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/typewrappers.c b/typewrappers.c
index ba02d6a..d6cbbf1 100644
--- a/typewrappers.c
+++ b/typewrappers.c
@@ -13,6 +13,7 @@
#undef HAVE_PTHREAD_H
#include "typewrappers.h"
+#include "libvirt-utils.h"
#ifndef Py_CAPSULE_H
typedef void(*PyCapsule_Destructor)(void *, void *);