Mercurial > hg > vampy
comparison PyRealTime.cpp @ 58:62dcaa5fe6f8 vampy-2.0
Extended README, added .pyo support
author | fazekasgy |
---|---|
date | Sun, 11 Oct 2009 09:57:48 +0000 |
parents | 27bab3a16c9a |
children | 2a9fb03458d7 |
comparison
equal
deleted
inserted
replaced
57:87b9ea6fc7d0 | 58:62dcaa5fe6f8 |
---|---|
203 ((RealTimeObject*)self)->rt->toString().c_str()); | 203 ((RealTimeObject*)self)->rt->toString().c_str()); |
204 } | 204 } |
205 | 205 |
206 | 206 |
207 /* Number Protocol */ | 207 /* Number Protocol */ |
208 /// Only add and substract make sense, or what about the | 208 /// TODO: implement all methods available in Vamp::RealTime() objects |
209 /// square root of Monday morning? | |
210 /// Divide by integer maybe for durations? | |
211 | 209 |
212 static PyObject * | 210 static PyObject * |
213 RealTime_add(PyObject *s, PyObject *w) | 211 RealTime_add(PyObject *s, PyObject *w) |
214 { | 212 { |
215 RealTimeObject *result = | 213 RealTimeObject *result = |