projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51ca615
)
gen_external.py : pepify
author
Martin Hermant
<martin.hermant@gmail.com>
Tue, 30 May 2017 15:13:21 +0000
(11:13 -0400)
committer
Martin Hermant
<martin.hermant@gmail.com>
Tue, 30 May 2017 15:13:21 +0000
(11:13 -0400)
python/lib/gen_external.py
patch
|
blob
|
history
diff --git
a/python/lib/gen_external.py
b/python/lib/gen_external.py
index
0cc9b31
..
f4abe87
100644
(file)
--- a/
python/lib/gen_external.py
+++ b/
python/lib/gen_external.py
@@
-135,8
+135,8
@@
def get_c_declarations(header=header, usedouble=False):
return cpp_output
-def get_cpp_objects_from_c_declarations(c_declarations,
skip_objects =
None):
- if skip_objects
==
None:
+def get_cpp_objects_from_c_declarations(c_declarations,
skip_objects=
None):
+ if skip_objects
==
None:
skip_objects = default_skip_objects
typedefs = filter(lambda y: y.startswith('typedef struct _aubio'), c_declarations)
cpp_objects = [a.split()[3][:-1] for a in typedefs]