gen_external.py : fix c_declaration cleaning messing with gen_code parsing of member...
authorMartin Hermant <martin.hermant@gmail.com>
Mon, 29 May 2017 23:17:09 +0000 (19:17 -0400)
committerMartin Hermant <martin.hermant@gmail.com>
Mon, 29 May 2017 23:17:09 +0000 (19:17 -0400)
python/lib/gen_external.py

index c8ab174..c559ca8 100644 (file)
@@ -129,7 +129,7 @@ def get_c_declarations(header=header, usedouble=False):
     # clean pointer notations
     tmp = []
     for l in cpp_output:
-        tmp += [l.replace(' *', '* ')]
+        tmp += [l.replace(' *', ' * ')]
     cpp_output = tmp
 
     return cpp_output