Mercurial > hg > vampy
comparison PyTypeConversions.h @ 73:76355b91cd92 vampyhost
Add vector<string> -> Python converter
author | Chris Cannam |
---|---|
date | Mon, 24 Nov 2014 11:02:20 +0000 |
parents | ffaa1fb3d7de |
children | e7d03f88ef43 |
comparison
equal
deleted
inserted
replaced
72:ffaa1fb3d7de | 73:76355b91cd92 |
---|---|
96 // Sequence types | 96 // Sequence types |
97 std::vector<std::string> PyValue_To_StringVector (PyObject*) const; | 97 std::vector<std::string> PyValue_To_StringVector (PyObject*) const; |
98 std::vector<float> PyValue_To_FloatVector (PyObject*) const; | 98 std::vector<float> PyValue_To_FloatVector (PyObject*) const; |
99 std::vector<float> PyList_To_FloatVector (PyObject*) const; | 99 std::vector<float> PyList_To_FloatVector (PyObject*) const; |
100 | 100 |
101 PyObject *PyValue_From_StringVector(const std::vector<std::string> &) const; | |
102 | |
101 // Numpy types | 103 // Numpy types |
102 #ifdef HAVE_NUMPY | 104 #ifdef HAVE_NUMPY |
103 std::vector<float> PyArray_To_FloatVector (PyObject *pyValue) const; | 105 std::vector<float> PyArray_To_FloatVector (PyObject *pyValue) const; |
104 #endif | 106 #endif |
105 | 107 |