mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 11:42:34 +00:00
tool/btstack_parse_header: don't skip functions with callback
This commit is contained in:
parent
639632a15c
commit
d4ab296c16
@ -150,11 +150,6 @@ def parse_header(header_filepath):
|
||||
typedef_text = ''
|
||||
continue
|
||||
|
||||
# filter callback
|
||||
callback_function_definition = re.match(r'(.*?)\s*\(\s*\*.*\(*.*;\n', line)
|
||||
if callback_function_definition:
|
||||
continue
|
||||
|
||||
one_line_function_definition = re.match(r'(.*?)\s*\(.*\(*.*;\n', line)
|
||||
if one_line_function_definition:
|
||||
parts = one_line_function_definition.group(1).split(" ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user