Changeset 5c1200a for python/ext/py-cvec.c
- Timestamp:
- Apr 18, 2016, 10:53:24 PM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 0e59ae0
- Parents:
- 2e4ae1d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-cvec.c
r2e4ae1d r5c1200a 70 70 PyObject *result = NULL; 71 71 72 format = Py String_FromString ("aubio cvec of %d elements");72 format = PyUnicode_FromString ("aubio cvec of %d elements"); 73 73 if (format == NULL) { 74 74 goto fail; … … 81 81 cvec_print ( self->o ); 82 82 83 result = Py String_Format (format, args);83 result = PyUnicode_Format (format, args); 84 84 85 85 fail: … … 261 261 262 262 PyTypeObject Py_cvecType = { 263 PyObject_HEAD_INIT (NULL) 264 0, /* ob_size */ 263 PyVarObject_HEAD_INIT(NULL, 0) 265 264 "aubio.cvec", /* tp_name */ 266 265 sizeof (Py_cvec), /* tp_basicsize */
Note: See TracChangeset
for help on using the changeset viewer.