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.
2 parents 489ba32 + 1732178 commit 2cb7b28Copy full SHA for 2cb7b28
tools/c_header_parser.py
@@ -24,7 +24,7 @@ def get_signatures(strip_extern=True, srcdir='src'):
24
started = False
25
for line in f:
26
line = line.strip()
27
- if line.startswith('extern'):
+ if line.startswith('DECLSPEC extern'):
28
sigs.append(line)
29
if not line.endswith(';'):
30
started = True
@@ -33,7 +33,7 @@ def get_signatures(strip_extern=True, srcdir='src'):
33
if line.endswith(';'):
34
35
if strip_extern:
36
- sigs = [s[7:].strip() for s in sigs] # probably don't need strip()
+ sigs = [s[16:].strip() for s in sigs] # probably don't need strip()
37
return sigs
38
39
0 commit comments