shithub: aubio

Download patch

ref: 7c4cf2086fe40331636fc29b8b0145da9f6e9c60
parent: 8b8336beecd4b559555b94d44ff89bd940b6c45a
author: Paul Brossier <piem@piem.org>
date: Thu Nov 5 20:23:58 EST 2009

generator.py: fully blown mode

--- a/interfaces/python/generator.py
+++ b/interfaces/python/generator.py
@@ -6,7 +6,7 @@
 
 skip_objects = ['fft', 'pvoc', 'filter', 'filterbank', 'resampler']
 
-cpp_output = [l.strip() for l in os.popen('cpp -I ../../build/default/src ../../src/aubio.h').readlines()]
+cpp_output = [l.strip() for l in os.popen('cpp -DAUBIO_UNSTABLE=1 -I ../../build/default/src ../../src/aubio.h').readlines()]
 
 cpp_output = filter(lambda y: len(y) > 1, cpp_output)
 cpp_output = filter(lambda y: not y.startswith('#'), cpp_output)