aboutsummaryrefslogtreecommitdiff
path: root/src/cube_generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cube_generic.h')
-rw-r--r--src/cube_generic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cube_generic.h b/src/cube_generic.h
index 6b675ee..7ff9992 100644
--- a/src/cube_generic.h
+++ b/src/cube_generic.h
@@ -8,6 +8,7 @@ _static bool issolved(cube_t);
8_static bool iserror(cube_t); 8_static bool iserror(cube_t);
9_static cube_t applymoves(cube_t, const char *); 9_static cube_t applymoves(cube_t, const char *);
10_static cube_t applytrans(cube_t, const char *); 10_static cube_t applytrans(cube_t, const char *);
11_static cube_t frommoves(const char *);
11 12
12_static int permsign(uint8_t *, int); 13_static int permsign(uint8_t *, int);
13_static cube_t move(cube_t, uint8_t); 14_static cube_t move(cube_t, uint8_t);
@@ -165,6 +166,12 @@ applymoves_error:
165} 166}
166 167
167_static cube_t 168_static cube_t
169frommoves(const char *buf)
170{
171 return applymoves(solved, buf);
172}
173
174_static cube_t
168applytrans(cube_t cube, const char *buf) 175applytrans(cube_t cube, const char *buf)
169{ 176{
170 uint8_t t; 177 uint8_t t;

Generated with cgit - Back to sebastiano.tronto.net