History

gen_external.py : pepify

Martin Hermant committed 9 years ago

Commit dad51ce1 parent 51ca6151 file · +2 −2Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/lib/gen_external.py+2−2
@@ -135,8 +135,8 @@ def get_c_declarations(header=header, usedouble=False): · 134 unmodified lines
135 return cpp_output135 return cpp_output
136 136
137 137
138def get_cpp_objects_from_c_declarations(c_declarations,skip_objects = None):138def 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_objects140 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]

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t