aboutsummaryrefslogtreecommitdiff
path: root/src/cube.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cube.h')
-rw-r--r--src/cube.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/cube.h b/src/cube.h
index 3319b1e..129062d 100644
--- a/src/cube.h
+++ b/src/cube.h
@@ -7,12 +7,11 @@ typedef uint8_t trans_t;
7 7
8extern cube_t solvedcube; 8extern cube_t solvedcube;
9 9
10/* For the textual representation of the cube, see utils/FORMAT.txt */ 10/* Not all formats are supported for both read and write. */
11cube_t readcube(char *); 11/* See utils/FORMAT.txt for details. */
12void writecube(cube_t, char *); 12typedef enum {H48, SRC} format_t;
13 13cube_t readcube(format_t, char *);
14/* Writes a cube in C source code format */ 14void writecube(format_t, cube_t, char *);
15void writecubesrc(cube_t, char *);
16 15
17bool issolvable(cube_t); 16bool issolvable(cube_t);
18bool equal(cube_t, cube_t); 17bool equal(cube_t, cube_t);

Generated with cgit - Back to sebastiano.tronto.net