Skip to content

Commit

Permalink
fix compilation error with cython 3+ (#24)
Browse files Browse the repository at this point in the history
Fixes #23
  • Loading branch information
mmohrhard authored Oct 22, 2023
1 parent 05191c9 commit 107bbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embree.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ cdef class Buffer:
def release(self):
rtcReleaseBuffer(self._buffer)

cdef void simple_error_function(void* userPtr, RTCError code, const char* str):
cdef void simple_error_function(void* userPtr, RTCError code, const char* str) noexcept:
print('%s: %s' % (Error(code), str))

cdef class Device:
Expand Down

0 comments on commit 107bbdd

Please sign in to comment.