summaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2026-05-12 14:35:18 -0400
committerRusty Wagner <rusty.wagner@gmail.com>2026-05-22 16:30:56 -0400
commitaca1c6f63911057018341869b9aaf74f486a1474 (patch)
treedb586c115d931136ac3b02330860b97f7f29380c /stubs
parentac359f8bcbbb64c9c89a821bb65879178815ce37 (diff)
Fix stub generator to be less picky about leading indentation
Diffstat (limited to 'stubs')
-rw-r--r--stubs/generate_stubs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/generate_stubs.py b/stubs/generate_stubs.py
index 4afb684d..71dfa738 100644
--- a/stubs/generate_stubs.py
+++ b/stubs/generate_stubs.py
@@ -104,7 +104,7 @@ extern "C" {
# Pull out all core api functions to generate stubs
for match in re.finditer(
- r'(?m:)\t(BINARYNINJACOREAPI [^;]*);',
+ r'(?m:^)[ \t]+(BINARYNINJACOREAPI [^;]*);',
header_conts
):
group = match.group(1)