summaryrefslogtreecommitdiffstats
path: root/typewrappers.h
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-02-02 16:28:26 -0700
committerEric Blake <eblake@redhat.com>2012-02-03 10:41:44 -0700
commit29aedfa4f48a9cc25d9049b7fc3ecd849147274b (patch)
treeeb221ad07649c2f72e85f085da9d608ff3bb23e9 /typewrappers.h
parent1104c3ed216f3f46cfe62afbe70bb95f90787f69 (diff)
downloadlibvirt-python-split-29aedfa4f48a9cc25d9049b7fc3ecd849147274b.tar.gz
libvirt-python-split-29aedfa4f48a9cc25d9049b7fc3ecd849147274b.tar.xz
libvirt-python-split-29aedfa4f48a9cc25d9049b7fc3ecd849147274b.zip
python: drop redundant function
I noticed some redundant code while preparing my next patch. * python/generator.py (py_types): Fix 'const char *' mapping. * python/typewrappers.h (libvirt_charPtrConstWrap): Drop. * python/typewrappers.c (libvirt_charPtrConstWrap): Delete, since it is identical to libvirt_constcharPtrWrap.
Diffstat (limited to 'typewrappers.h')
-rw-r--r--typewrappers.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/typewrappers.h b/typewrappers.h
index 87ea1e5..1e34dfa 100644
--- a/typewrappers.h
+++ b/typewrappers.h
@@ -1,7 +1,7 @@
/*
* libvirt_wrap.h: type wrappers for libvir python bindings
*
- * Copyright (C) 2005, 2011 Red Hat, Inc.
+ * Copyright (C) 2005, 2011-2012 Red Hat, Inc.
*
* Daniel Veillard <veillard@redhat.com>
*/
@@ -163,7 +163,6 @@ PyObject * libvirt_ulonglongWrap(unsigned long long val);
PyObject * libvirt_charPtrWrap(char *str);
PyObject * libvirt_charPtrSizeWrap(char *str, Py_ssize_t size);
PyObject * libvirt_constcharPtrWrap(const char *str);
-PyObject * libvirt_charPtrConstWrap(const char *str);
PyObject * libvirt_virConnectPtrWrap(virConnectPtr node);
PyObject * libvirt_virDomainPtrWrap(virDomainPtr node);
PyObject * libvirt_virNetworkPtrWrap(virNetworkPtr node);