Skip to content

Commit

Permalink
Fix conflicting names resolver being never called (#193)
Browse files Browse the repository at this point in the history
This fixes #145

The function was never actually called due to a misaligned if check introduced in commit f12737e

Picked from pypdfium2-team fork commit pypdfium2-team@105a3c6
  • Loading branch information
mara004 committed Dec 17, 2023
1 parent deb059e commit 17b7a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctypesgen/processor/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def process(data, options):
filter_by_regexes_exclude(data, options)
filter_by_regexes_include(data, options)
remove_macros(data, options)
if options.output_language == "python":
if options.output_language.startswith("py"):
# this function is python specific
fix_conflicting_names(data, options)
find_source_libraries(data, options)
Expand Down

0 comments on commit 17b7a25

Please sign in to comment.