aboutsummaryrefslogtreecommitdiff
path: root/src/cube_generic.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-09 20:23:58 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-09 20:23:58 +0200
commit1cecea625ed405c7203d1977e687da36d835fc9a (patch)
treed7d9f365199978358d959c424e0a1208bb37b979 /src/cube_generic.h
parent0b1930307f41db3ea7552d6b2f4666b33c64d26a (diff)
downloadnissy-core-1cecea625ed405c7203d1977e687da36d835fc9a.tar.gz
nissy-core-1cecea625ed405c7203d1977e687da36d835fc9a.zip
Cleanup cube.h
Diffstat (limited to '')
-rw-r--r--src/cube_generic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cube_generic.h b/src/cube_generic.h
index 844b328..6b675ee 100644
--- a/src/cube_generic.h
+++ b/src/cube_generic.h
@@ -1,7 +1,7 @@
1#define _move(M, c) compose(c, _move_cube_ ## M) 1#define _move(M, c) compose(c, _move_cube_ ## M)
2#define _premove(M, c) compose(_move_cube_ ## M, c) 2#define _premove(M, c) compose(_move_cube_ ## M, c)
3 3
4_static cube_t solvedcube(); 4_static cube_t solvedcube(void);
5_static bool isconsistent(cube_t); 5_static bool isconsistent(cube_t);
6_static bool issolvable(cube_t); 6_static bool issolvable(cube_t);
7_static bool issolved(cube_t); 7_static bool issolved(cube_t);
@@ -16,7 +16,7 @@ _static cube_t transform_corners(cube_t, uint8_t);
16_static cube_t transform(cube_t, uint8_t); 16_static cube_t transform(cube_t, uint8_t);
17 17
18_static cube_t 18_static cube_t
19solvedcube() 19solvedcube(void)
20{ 20{
21 return solved; 21 return solved;
22} 22}

Generated with cgit - Back to sebastiano.tronto.net