From 8d3fc9f5f9c0593fcae9c451efe6c89c64dcbe84 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 29 Apr 2025 10:08:04 +0200 Subject: Added stop / pause / resume solve to API --- python/nissy_module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/nissy_module.c') diff --git a/python/nissy_module.c b/python/nissy_module.c index bf5a71a..069dea0 100644 --- a/python/nissy_module.c +++ b/python/nissy_module.c @@ -300,7 +300,7 @@ solve(PyObject *self, PyObject *args) result = nissy_solve(cube, solver, nissflag, minmoves, maxmoves, maxsolutions, optimal, threads, data->ob_alloc, (unsigned char *)data->ob_bytes, MAX_SOLUTIONS_SIZE, solutions, - stats); + stats, NULL, NULL); Py_END_ALLOW_THREADS if(!check_error(result)) { @@ -350,9 +350,9 @@ static PyMethodDef nissy_methods[] = { { "getcube", getcube, METH_VARARGS, getcube_doc }, { "solverinfo", solverinfo, METH_VARARGS, solverinfo_doc }, { "gendata", gendata, METH_VARARGS, gendata_doc }, - { "checkdata", checkdata, METH_VARARGS, checkdata_doc }, + { "checkdata", _checkdata, METH_VARARGS, checkdata_doc }, { "solve", solve, METH_VARARGS, solve_doc }, - { "countmoves", countmoves, METH_VARARGS, countmoves_doc }, + { "countmoves", _countmoves, METH_VARARGS, countmoves_doc }, { NULL, NULL, 0, NULL } }; -- cgit v1.3