Skip to content

Commit

Permalink
Cython 3.0 vs 0.29.36
Browse files Browse the repository at this point in the history
- we force 0.29.36 until CySignals is fixed sagemath/cysignals#174
- once we upgeade to 3.0 we also need to remove the extern C guards
  • Loading branch information
malb committed Aug 10, 2023
1 parent 85be3c9 commit 7191591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Cython
Cython==0.29.36
pytest
cysignals
black
4 changes: 2 additions & 2 deletions src/fpylll/fplll/enumeration_callback_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#include <Python.h>
#include <fplll/fplll.h>

//extern "C" {
extern "C" {
bool evaluator_callback_call_obj(PyObject *obj, int n, double *new_sol_coord);
//}
}

class PyCallbackEvaluatorWrapper {
public:
Expand Down

0 comments on commit 7191591

Please sign in to comment.