aboutsummaryrefslogtreecommitdiff
path: root/src/solve.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/solve.h')
-rw-r--r--src/solve.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/solve.h b/src/solve.h
index b09c81b..8182887 100644
--- a/src/solve.h
+++ b/src/solve.h
@@ -36,12 +36,13 @@ struct solver {
36 void * param; 36 void * param;
37/* TODO: the following should be part of a generic cube description */ 37/* TODO: the following should be part of a generic cube description */
38/* TODO: remove alloc? */ 38/* TODO: remove alloc? */
39/* TODO: revisit apply_move, maybe apply_alg? or both? */
39 void * (*alloc_cubedata)(void *); 40 void * (*alloc_cubedata)(void *);
40 void (*copy_cubedata)(void *, void *, void *); 41 void (*copy_cubedata)(void *, void *, void *);
41 void (*free_cubedata)(void *, void *); 42 void (*free_cubedata)(void *, void *);
42 void (*invert_cube)(void *, void *); 43 void (*invert_cube)(void *, void *);
43 bool (*is_solved)(void *, void *); 44 bool (*is_solved)(void *, void *);
44 void (*apply_alg)(void *, void *, Alg *); 45 void (*apply_move)(void *, void *, Move);
45/* TODO: remove dependence on Cube, preparation should be done before */ 46/* TODO: remove dependence on Cube, preparation should be done before */
46 void * (*prepare_cube)(void *, Cube *); 47 void * (*prepare_cube)(void *, Cube *);
47}; 48};

Generated with cgit - Back to sebastiano.tronto.net