ref: eea6101b8e2158afb3c40b3c8082b74b8c3e1b46
parent: 341585b82fc14f64290032e8213639861dff7f8a
author: Martin Hermant <martin.hermant@gmail.com>
date: Mon May 29 14:12:32 EDT 2017
gen_external.py : clean preprocessor generated strings from stickin pointer notation : ‘ void *my_func()’ => ‘void* my_func()’
--- a/python/lib/gen_external.py
+++ b/python/lib/gen_external.py
@@ -121,6 +121,13 @@
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):