Skip to content

Commit

Permalink
Made compatible with Cython 3.0.0b3
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Jun 11, 2023
1 parent 946ee3e commit 82e7e9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions planarmap_src/planarmap.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#cython: language_level=3
#cython: legacy_implicit_noexcept=True
#
# The above line is for Cython 3; to remove, need to declare
# "randrange_callback" via:
#
# cdef long randrange_callback(long n) noexcept:

from libc.stdlib cimport malloc, free
import random
Expand Down

0 comments on commit 82e7e9e

Please sign in to comment.