From 1c43e59c8bcd7af716d82ab84b0bc7760a51bc5c Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Wed, 19 Jul 2023 14:54:33 -0600 Subject: [PATCH] Added support for using the Cython 3.0 release (#204). --- doc/src/release_notes.rst | 2 ++ src/oracledb/impl/thick/odpi.pxd | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/src/release_notes.rst b/doc/src/release_notes.rst index 46f4908..d108a7b 100644 --- a/doc/src/release_notes.rst +++ b/doc/src/release_notes.rst @@ -54,6 +54,8 @@ Common Changes #) The ``repr()`` value of the DbObject class now shows the string "DbObject" instead of the string "Object" for consistency with the name of the class and the other ``repr()`` values for DbObjectType and DbObjectAttr. +#) Added support for using the Cython 3.0 release + (`issue 204 `__). #) Improved test suite. diff --git a/src/oracledb/impl/thick/odpi.pxd b/src/oracledb/impl/thick/odpi.pxd index e538acc..afd348e 100644 --- a/src/oracledb/impl/thick/odpi.pxd +++ b/src/oracledb/impl/thick/odpi.pxd @@ -222,10 +222,10 @@ cdef extern from "impl/thick/odpi/embed/dpi.c": # function pointer types ctypedef void (*dpiSubscrCallback)(void* context, - dpiSubscrMessage *message) + dpiSubscrMessage *message) except * nogil ctypedef int (*dpiAccessTokenCallback)(void *context, - dpiAccessToken *accessToken) + dpiAccessToken *accessToken) except * nogil # complex native data types ctypedef struct dpiBytes: