Mercurial > hg > vampy
diff PyExtensionModule.cpp @ 66:5664fe298af2
Update to Python 2.7 and clean up the build (avoid using deprecated NumPy API, fix compiler warnings)
author | Chris Cannam |
---|---|
date | Mon, 17 Nov 2014 09:37:59 +0000 |
parents | af9c4cee95a8 |
children | 146d14ab15e7 |
line wrap: on
line diff
--- a/PyExtensionModule.cpp Wed Aug 06 16:02:25 2014 +0100 +++ b/PyExtensionModule.cpp Mon Nov 17 09:37:59 2014 +0000 @@ -149,7 +149,7 @@ // PyDoc_STRVAR(vampy_doc,"This module exposes Vamp plugin data type wrappers."); static int -setint(PyObject *d, char *name, int value) +setint(PyObject *d, const char *name, int value) { PyObject *v; int err; @@ -160,7 +160,7 @@ } static int -setdbl(PyObject *d, char *name, double value) +setdbl(PyObject *d, const char *name, double value) { PyObject *v; int err; @@ -171,7 +171,7 @@ } static int -setstr(PyObject *d, char *name, char *value) +setstr(PyObject *d, const char *name, const char *value) { PyObject *v; int err;