Skip to content

Commit

Permalink
Fix build on Linux
Browse files Browse the repository at this point in the history
The newest compiler is not a fan of incorrect Cython definitions.
  • Loading branch information
JCGoran committed Sep 1, 2024
1 parent 7c573af commit 5cfc59a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions python/coffe/coffe.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@

cdef extern from "<gsl/gsl_errno.h>":

cdef struct gsl_error_handler_t:
pass

cdef gsl_error_handler_t *gsl_set_error_handler_off()
ctypedef void (*gsl_error_handler_t) (const char* reason, const char* file, int line, int gsl_errno)

cdef void gsl_set_error_handler(gsl_error_handler_t *)
gsl_error_handler_t* gsl_set_error_handler(gsl_error_handler_t* new_handler)

gsl_error_handler_t* gsl_set_error_handler_off()

cdef extern from "<gsl/gsl_spline.h>":

Expand Down

0 comments on commit 5cfc59a

Please sign in to comment.