diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-09-27 14:57:43 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-11-12 18:02:07 +0000 |
commit | 8966505a245f00583961c68025ca546c841a5227 (patch) | |
tree | c6afcd74ff57b5b53135f06c05ebc39cf14171d2 /typewrappers.c | |
parent | 0d38774783b0e408e789f8f29f4aea4eecd01def (diff) | |
download | libvirt-python-v6-8966505a245f00583961c68025ca546c841a5227.tar.gz libvirt-python-v6-8966505a245f00583961c68025ca546c841a5227.tar.xz libvirt-python-v6-8966505a245f00583961c68025ca546c841a5227.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.c | 1 |
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 *); |