comparison PyTypeInterface.h @ 34:c905122f79e7 vampy2

* Fixes from OpenSolaris build
author cannam
date Wed, 23 Sep 2009 12:07:32 +0000
parents c4da8d559872
children
comparison
equal deleted inserted replaced
33:c4da8d559872 34:c905122f79e7
232 232
233 Vamp::Plugin::FeatureSet PyValue_To_FeatureSet(PyObject*) const; 233 Vamp::Plugin::FeatureSet PyValue_To_FeatureSet(PyObject*) const;
234 inline void PyValue_To_rValue(PyObject *pyValue, Vamp::Plugin::FeatureSet &r) const 234 inline void PyValue_To_rValue(PyObject *pyValue, Vamp::Plugin::FeatureSet &r) const
235 { r = this->PyValue_To_FeatureSet(pyValue); } 235 { r = this->PyValue_To_FeatureSet(pyValue); }
236 236
237 Vamp::RealTime::RealTime PyValue_To_RealTime(PyObject*) const; 237 Vamp::RealTime PyValue_To_RealTime(PyObject*) const;
238 inline void PyValue_To_rValue(PyObject *pyValue, Vamp::RealTime::RealTime &r) const 238 inline void PyValue_To_rValue(PyObject *pyValue, Vamp::RealTime &r) const
239 { r = this->PyValue_To_RealTime(pyValue); } 239 { r = this->PyValue_To_RealTime(pyValue); }
240 240
241 241
242 /* Overloaded PyValue_To_rValue() to support generic functions */ 242 /* Overloaded PyValue_To_rValue() to support generic functions */
243 inline void PyValue_To_rValue(PyObject *pyValue, float &defValue) const 243 inline void PyValue_To_rValue(PyObject *pyValue, float &defValue) const
293 { r = PyValue_To_String(pyValue); } 293 { r = PyValue_To_String(pyValue); }
294 inline void _convert(PyObject *pyValue,std::vector<std::string> &r) const 294 inline void _convert(PyObject *pyValue,std::vector<std::string> &r) const
295 { r = PyValue_To_StringVector(pyValue); } 295 { r = PyValue_To_StringVector(pyValue); }
296 inline void _convert(PyObject *pyValue,std::vector<float> &r) const 296 inline void _convert(PyObject *pyValue,std::vector<float> &r) const
297 { r = PyValue_To_FloatVector(pyValue); } 297 { r = PyValue_To_FloatVector(pyValue); }
298 inline void _convert(PyObject *pyValue,Vamp::RealTime::RealTime &r) const 298 inline void _convert(PyObject *pyValue,Vamp::RealTime &r) const
299 { r = PyValue_To_RealTime(pyValue); } 299 { r = PyValue_To_RealTime(pyValue); }
300 300
301 public: 301 public:
302 const bool& error; 302 const bool& error;
303 303