Skip to content

Commit

Permalink
Merge pull request #70 from rgommers/nogil-safe
Browse files Browse the repository at this point in the history
MAINT: declare that `highspy._core` supports free-threaded CPython
  • Loading branch information
rgommers authored Nov 27, 2024
2 parents f5f4287 + 3988266 commit cc22e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highs_bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ HighsStatus highs_setCallback(
data.ptr());
}

PYBIND11_MODULE(_core, m) {
PYBIND11_MODULE(_core, m, py::mod_gil_not_used()) {
// To keep a smaller diff, for reviewers, the declarations are not moved, but
// keep in mind:
// C++ enum classes :: don't need .export_values()
Expand Down

0 comments on commit cc22e21

Please sign in to comment.