summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/latin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/latin.h')
-rw-r--r--apps/plugins/puzzles/src/latin.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugins/puzzles/src/latin.h b/apps/plugins/puzzles/src/latin.h
index bb172ec3c7..96a0480491 100644
--- a/apps/plugins/puzzles/src/latin.h
+++ b/apps/plugins/puzzles/src/latin.h
@@ -61,10 +61,13 @@ int latin_solver_forcing(struct latin_solver *solver,
61/* --- Solver allocation --- */ 61/* --- Solver allocation --- */
62 62
63/* Fills in (and allocates members for) a latin_solver struct. 63/* Fills in (and allocates members for) a latin_solver struct.
64 * Will allocate members of snew, but not snew itself 64 * Will allocate members of solver, but not solver itself
65 * (allowing 'struct latin_solver' to be the first element in a larger 65 * (allowing 'struct latin_solver' to be the first element in a larger
66 * struct, for example). */ 66 * struct, for example).
67void latin_solver_alloc(struct latin_solver *solver, digit *grid, int o); 67 *
68 * latin_solver_alloc returns false if the digits already in the grid
69 * could not be legally placed. */
70bool latin_solver_alloc(struct latin_solver *solver, digit *grid, int o);
68void latin_solver_free(struct latin_solver *solver); 71void latin_solver_free(struct latin_solver *solver);
69 72
70/* Allocates scratch space (for _set and _forcing) */ 73/* Allocates scratch space (for _set and _forcing) */