aboutsummaryrefslogtreecommitdiff
path: root/python/nissy_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/nissy_module.c')
-rw-r--r--python/nissy_module.c6
1 files changed, 3 insertions, 3 deletions
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)
300 result = nissy_solve(cube, solver, nissflag, minmoves, maxmoves, 300 result = nissy_solve(cube, solver, nissflag, minmoves, maxmoves,
301 maxsolutions, optimal, threads, data->ob_alloc, 301 maxsolutions, optimal, threads, data->ob_alloc,
302 (unsigned char *)data->ob_bytes, MAX_SOLUTIONS_SIZE, solutions, 302 (unsigned char *)data->ob_bytes, MAX_SOLUTIONS_SIZE, solutions,
303 stats); 303 stats, NULL, NULL);
304 Py_END_ALLOW_THREADS 304 Py_END_ALLOW_THREADS
305 305
306 if(!check_error(result)) { 306 if(!check_error(result)) {
@@ -350,9 +350,9 @@ static PyMethodDef nissy_methods[] = {
350 { "getcube", getcube, METH_VARARGS, getcube_doc }, 350 { "getcube", getcube, METH_VARARGS, getcube_doc },
351 { "solverinfo", solverinfo, METH_VARARGS, solverinfo_doc }, 351 { "solverinfo", solverinfo, METH_VARARGS, solverinfo_doc },
352 { "gendata", gendata, METH_VARARGS, gendata_doc }, 352 { "gendata", gendata, METH_VARARGS, gendata_doc },
353 { "checkdata", checkdata, METH_VARARGS, checkdata_doc }, 353 { "checkdata", _checkdata, METH_VARARGS, checkdata_doc },
354 { "solve", solve, METH_VARARGS, solve_doc }, 354 { "solve", solve, METH_VARARGS, solve_doc },
355 { "countmoves", countmoves, METH_VARARGS, countmoves_doc }, 355 { "countmoves", _countmoves, METH_VARARGS, countmoves_doc },
356 { NULL, NULL, 0, NULL } 356 { NULL, NULL, 0, NULL }
357}; 357};
358 358

Generated with cgit - Back to sebastiano.tronto.net