Mercurial > hg > vampy
diff PyTypeInterface.h @ 34:c905122f79e7 vampy2
* Fixes from OpenSolaris build
author | cannam |
---|---|
date | Wed, 23 Sep 2009 12:07:32 +0000 |
parents | c4da8d559872 |
children |
line wrap: on
line diff
--- a/PyTypeInterface.h Wed Sep 23 11:56:46 2009 +0000 +++ b/PyTypeInterface.h Wed Sep 23 12:07:32 2009 +0000 @@ -234,8 +234,8 @@ inline void PyValue_To_rValue(PyObject *pyValue, Vamp::Plugin::FeatureSet &r) const { r = this->PyValue_To_FeatureSet(pyValue); } - Vamp::RealTime::RealTime PyValue_To_RealTime(PyObject*) const; - inline void PyValue_To_rValue(PyObject *pyValue, Vamp::RealTime::RealTime &r) const + Vamp::RealTime PyValue_To_RealTime(PyObject*) const; + inline void PyValue_To_rValue(PyObject *pyValue, Vamp::RealTime &r) const { r = this->PyValue_To_RealTime(pyValue); } @@ -295,7 +295,7 @@ { r = PyValue_To_StringVector(pyValue); } inline void _convert(PyObject *pyValue,std::vector<float> &r) const { r = PyValue_To_FloatVector(pyValue); } - inline void _convert(PyObject *pyValue,Vamp::RealTime::RealTime &r) const + inline void _convert(PyObject *pyValue,Vamp::RealTime &r) const { r = PyValue_To_RealTime(pyValue); } public: