We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6889905 commit de489c0Copy full SHA for de489c0
Tools/scripts/stable_abi.py
@@ -459,7 +459,7 @@ def gcc_get_limited_api_definitions(headers):
459
re.findall(r"__EXPORT_DATA\((.*?)\)", preprocesor_output)
460
)
461
stable_data = set(
462
- re.findall(r"__PyAPI_DATA\(.*?\)\s*\(?(.*?)\)?\s*;", preprocesor_output)
+ re.findall(r"__PyAPI_DATA\(.*?\)[\s\*\(]*([^);]*)\)?.*;", preprocesor_output)
463
464
return stable_data | stable_exported_data | stable_functions
465
0 commit comments