aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/voidptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/libshiboken/voidptr.h')
-rw-r--r--sources/shiboken2/libshiboken/voidptr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken2/libshiboken/voidptr.h b/sources/shiboken2/libshiboken/voidptr.h
index 240895df8..e74c1045e 100644
--- a/sources/shiboken2/libshiboken/voidptr.h
+++ b/sources/shiboken2/libshiboken/voidptr.h
@@ -40,7 +40,7 @@
#ifndef VOIDPTR_H
#define VOIDPTR_H
-#include <Python.h>
+#include "sbkpython.h"
#include "shibokenmacros.h"
#include "sbkconverter.h"
@@ -48,7 +48,7 @@ extern "C"
{
// Void pointer type declaration.
-extern LIBSHIBOKEN_API PyTypeObject SbkVoidPtrType;
+extern LIBSHIBOKEN_API PyTypeObject *SbkVoidPtrTypeF(void);
} // extern "C"