Added support for using the Cython 3.0 release (#204).

This commit is contained in:
Anthony Tuininga 2023-07-19 14:54:33 -06:00
parent b82db4c434
commit 1c43e59c8b
2 changed files with 4 additions and 2 deletions

View File

@ -54,6 +54,8 @@ Common Changes
#) The ``repr()`` value of the DbObject class now shows the string "DbObject" #) 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 instead of the string "Object" for consistency with the name of the class
and the other ``repr()`` values for DbObjectType and DbObjectAttr. and the other ``repr()`` values for DbObjectType and DbObjectAttr.
#) Added support for using the Cython 3.0 release
(`issue 204 <https://github.com/oracle/python-oracledb/issues/204>`__).
#) Improved test suite. #) Improved test suite.

View File

@ -222,10 +222,10 @@ cdef extern from "impl/thick/odpi/embed/dpi.c":
# function pointer types # function pointer types
ctypedef void (*dpiSubscrCallback)(void* context, ctypedef void (*dpiSubscrCallback)(void* context,
dpiSubscrMessage *message) dpiSubscrMessage *message) except * nogil
ctypedef int (*dpiAccessTokenCallback)(void *context, ctypedef int (*dpiAccessTokenCallback)(void *context,
dpiAccessToken *accessToken) dpiAccessToken *accessToken) except * nogil
# complex native data types # complex native data types
ctypedef struct dpiBytes: ctypedef struct dpiBytes: