Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -135,8 +135,8 @@ def get_c_declarations(header=header, usedouble=False): · 134 unmodified lines | |||
| 135 | return cpp_output | 135 | return cpp_output |
| 136 | 136 | ||
| 137 | 137 | ||
| 138 | def get_cpp_objects_from_c_declarations(c_declarations,skip_objects = None): | 138 | def get_cpp_objects_from_c_declarations(c_declarations, skip_objects=None): |
| 139 | if skip_objects==None: | 139 | if skip_objects == None: |
| 140 | skip_objects = default_skip_objects | 140 | skip_objects = default_skip_objects |
| 141 | typedefs = filter(lambda y: y.startswith('typedef struct _aubio'), c_declarations) | 141 | typedefs = filter(lambda y: y.startswith('typedef struct _aubio'), c_declarations) |
| 142 | cpp_objects = [a.split()[3][:-1] for a in typedefs] | 142 | cpp_objects = [a.split()[3][:-1] for a in typedefs] |