diff PyTypeConversions.h @ 74:e7d03f88ef43 vampyhost

Float vector conversion
author Chris Cannam
date Mon, 24 Nov 2014 16:22:41 +0000
parents 76355b91cd92
children
line wrap: on
line diff
--- a/PyTypeConversions.h	Mon Nov 24 11:02:20 2014 +0000
+++ b/PyTypeConversions.h	Mon Nov 24 16:22:41 2014 +0000
@@ -103,6 +103,7 @@
 	// Numpy types
 #ifdef HAVE_NUMPY
 	std::vector<float> PyArray_To_FloatVector (PyObject *pyValue) const;
+	PyObject *FloatVector_To_PyArray(const std::vector<float> &) const; // Copying the data
 #endif
 
 	/// Convert DTYPE type 1D NumpyArray to std::vector<RET>