aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/libshiboken/bufferprocs_py37.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/libshiboken/bufferprocs_py37.h')
-rw-r--r--sources/shiboken6/libshiboken/bufferprocs_py37.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/libshiboken/bufferprocs_py37.h b/sources/shiboken6/libshiboken/bufferprocs_py37.h
index 06b42cabd..e16194e50 100644
--- a/sources/shiboken6/libshiboken/bufferprocs_py37.h
+++ b/sources/shiboken6/libshiboken/bufferprocs_py37.h
@@ -67,8 +67,8 @@ typedef struct bufferinfo {
void *internal;
} Pep_buffer;
-typedef int (*getbufferproc)(PyObject *, Pep_buffer *, int);
-typedef void (*releasebufferproc)(PyObject *, Pep_buffer *);
+using getbufferproc =int (*)(PyObject *, Pep_buffer *, int);
+using releasebufferproc = void (*)(PyObject *, Pep_buffer *);
/* Maximum number of dimensions */
#define PyBUF_MAX_NDIM 64