Skip to content

Commit

Permalink
Added support for using the Cython 3.0 release (#204).
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-tuininga committed Jul 19, 2023
1 parent b82db4c commit 1c43e59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/src/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/oracle/python-oracledb/issues/204>`__).
#) Improved test suite.


Expand Down
4 changes: 2 additions & 2 deletions src/oracledb/impl/thick/odpi.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1c43e59

Please sign in to comment.