diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 20:23:58 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 20:23:58 +0200 |
| commit | 1cecea625ed405c7203d1977e687da36d835fc9a (patch) | |
| tree | d7d9f365199978358d959c424e0a1208bb37b979 /src/cube_generic.h | |
| parent | 0b1930307f41db3ea7552d6b2f4666b33c64d26a (diff) | |
| download | nissy-core-1cecea625ed405c7203d1977e687da36d835fc9a.tar.gz nissy-core-1cecea625ed405c7203d1977e687da36d835fc9a.zip | |
Cleanup cube.h
Diffstat (limited to 'src/cube_generic.h')
| -rw-r--r-- | src/cube_generic.h | 4 |
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 |
| 19 | solvedcube() | 19 | solvedcube(void) |
| 20 | { | 20 | { |
| 21 | return solved; | 21 | return solved; |
| 22 | } | 22 | } |
