aboutsummaryrefslogtreecommitdiff
path: root/unittest/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/conftest.py')
-rw-r--r--unittest/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/conftest.py b/unittest/conftest.py
index 88bf7d0..f43f153 100644
--- a/unittest/conftest.py
+++ b/unittest/conftest.py
@@ -22,8 +22,8 @@ def C(request):
a = iter(declarations)
for declaration in a:
- if declaration.startswith('extern') and not '"C"' in declaration:
- declaration = declaration.replace('extern', '').strip()
+ if declaration.startswith('NK_C_API'):
+ declaration = declaration.replace('NK_C_API', '').strip()
while not ';' in declaration:
declaration += (next(a)).strip()
print(declaration)