Skip to content

Commit

Permalink
(fix) inattention, missing separating line
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Jun 29, 2024
1 parent 4dfffd4 commit ee23729
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cm_library_cffi_headers/compose_cffi_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def remove_c_includes(lines):
def remove_special_defines(lines, defines):
return [line for line in lines if not any(f'#define {define}' in line for define in defines)]


def apply_cffi_defines_syntax(lines):
return [re.sub(r'#\s*define\s+(\w+).*', r'#define \1 ...', line) for line in lines]

Expand Down

0 comments on commit ee23729

Please sign in to comment.