diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-14 00:05:43 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-14 14:45:22 +0200 |
| commit | 8a91354f7b94c669c77fe628a81f9bfe9f599ef0 (patch) | |
| tree | ba29a8b0416cb3464b49fd7cfb69e7f407b892c8 /src/core/moves.h | |
| parent | 7dbd34574f629cacf3b89292d2a06ad0ae612f26 (diff) | |
| download | nissy-core-8a91354f7b94c669c77fe628a81f9bfe9f599ef0.tar.gz nissy-core-8a91354f7b94c669c77fe628a81f9bfe9f599ef0.zip | |
Interface changes, progress with python
Diffstat (limited to 'src/core/moves.h')
| -rw-r--r-- | src/core/moves.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/moves.h b/src/core/moves.h index 28abc7f..d07bc19 100644 --- a/src/core/moves.h +++ b/src/core/moves.h | |||
| @@ -15,7 +15,6 @@ STATIC void invertmoves(uint8_t *, uint8_t, uint8_t *); | |||
| 15 | 15 | ||
| 16 | STATIC int readmoves(const char *, int, uint8_t *); | 16 | STATIC int readmoves(const char *, int, uint8_t *); |
| 17 | STATIC cube_t applymoves(cube_t, const char *); | 17 | STATIC cube_t applymoves(cube_t, const char *); |
| 18 | STATIC cube_t frommoves(const char *); | ||
| 19 | 18 | ||
| 20 | #define FOREACH_READMOVE(ARG_BUF, ARG_MOVE, ARG_C, ARG_MAX, \ | 19 | #define FOREACH_READMOVE(ARG_BUF, ARG_MOVE, ARG_C, ARG_MAX, \ |
| 21 | RET_ERROR, ARG_ACTION) \ | 20 | RET_ERROR, ARG_ACTION) \ |
| @@ -246,9 +245,3 @@ applymoves(cube_t cube, const char *buf) | |||
| 246 | 245 | ||
| 247 | return cube; | 246 | return cube; |
| 248 | } | 247 | } |
| 249 | |||
| 250 | STATIC cube_t | ||
| 251 | frommoves(const char *buf) | ||
| 252 | { | ||
| 253 | return applymoves(SOLVED_CUBE, buf); | ||
| 254 | } | ||
