projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b8336b
)
generator.py: fully blown mode
author
Paul Brossier
<piem@piem.org>
Fri, 6 Nov 2009 00:23:58 +0000
(
01:23
+0100)
committer
Paul Brossier
<piem@piem.org>
Fri, 6 Nov 2009 00:23:58 +0000
(
01:23
+0100)
interfaces/python/generator.py
patch
|
blob
|
history
diff --git
a/interfaces/python/generator.py
b/interfaces/python/generator.py
index fabb676c5e3e31696173983c5af3602c78b66276..a02d0aee4a604b5bbf0d140e70a86210fb53d0f3 100644
(file)
--- a/
interfaces/python/generator.py
+++ b/
interfaces/python/generator.py
@@
-6,7
+6,7
@@
import os, sys
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)