Changeset 7dd8b04 for interfaces/python
- Timestamp:
- Jul 15, 2012, 11:16:24 PM (12 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:
- 551c6c3
- Parents:
- 0b5b7b2 (diff), 9ccd89f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- interfaces/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
interfaces/python/aubiowraphell.h
r0b5b7b2 r7dd8b04 8 8 } Py_## NAME; 9 9 10 #define AUBIO_NEW(NAME) \11 static PyObject * \12 Py_ ## NAME ## _new (PyTypeObject * type, PyObject * args, PyObject * kwds) \13 { \14 Py_ ## NAME * self; \15 self = (Py_ ## NAME *) type->tp_alloc (type, 0); \16 return (PyObject *)self; \17 }18 19 10 #define AUBIO_INIT(NAME, PARAMS... ) \ 20 11 static int \ … … 23 14 self->o = new_aubio_## NAME ( PARAMS ); \ 24 15 if (self->o == NULL) { \ 16 PyErr_SetString (PyExc_StandardError, "error creating object"); \ 25 17 return -1; \ 26 18 } \ -
interfaces/python/build_osx
r0b5b7b2 r7dd8b04 1 1 #! /bin/sh 2 2 3 export CFLAGS=-I/Users/piem/Library/Python/2.7/site-packages/numpy-1.8.0.dev_436a28f_20120710-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/ 3 set -e 4 set -x 5 6 export CFLAGS="-I/Users/piem/Library/Python/2.7/site-packages/numpy-1.8.0.dev_436a28f_20120710-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/ -arch i386 -arch x86_64" 4 7 export LDFLAGS=-L../../build/src/ 5 8 python setup.py clean build
Note: See TracChangeset
for help on using the changeset viewer.