projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
341585b
)
gen_external.py : clean preprocessor generated strings from stickin pointer notation...
author
Martin Hermant
<martin.hermant@gmail.com>
Mon, 29 May 2017 22:12:32 +0000
(18:12 -0400)
committer
Martin Hermant
<martin.hermant@gmail.com>
Mon, 29 May 2017 22:12:32 +0000
(18:12 -0400)
python/lib/gen_external.py
patch
|
blob
|
history
diff --git
a/python/lib/gen_external.py
b/python/lib/gen_external.py
index
52ab6ca
..
cf2d3c2
100644
(file)
--- a/
python/lib/gen_external.py
+++ b/
python/lib/gen_external.py
@@
-121,6
+121,13
@@
def get_c_declarations(header=header, usedouble=False):
else:
i += 1
+ # clean pointer notations
+ tmp = []
+ for l in cpp_output:
+ tmp+=[ l.replace(' *','* ')]
+ cpp_output = tmp;
+
+
return cpp_output
def get_cpp_objects_from_c_declarations(c_declarations):