Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare nonogram_runcycles in header #1

Merged
merged 1 commit into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/obj/nonogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ extern "C" {
int nonogram_runlines_until(nonogram_solver *c, int *lines, clock_t lim);
int nonogram_runcycles_tries(nonogram_solver *c, int *cycles);
int nonogram_runcycles_until(nonogram_solver *c, clock_t lim);
int nonogram_runcycles(nonogram_solver *c, int (*test)(void *), void *data);
enum { /* return codes for above calls */
nonogram_UNLOADED = 0,
nonogram_FINISHED = 1,
Expand Down
2 changes: 0 additions & 2 deletions src/obj/solver.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,6 @@ int nonogram_runlines_until(nonogram_solver *c, int *lines, clock_t lim)
return nonogram_runlines(c, lines, &nonogram_testtime, &lim);
}

int nonogram_runcycles(nonogram_solver *c, int (*test)(void *), void *data);

int nonogram_runlines(nonogram_solver *c, int *lines,
int (*test)(void *), void *data)
{
Expand Down