diff options
Diffstat (limited to 'src/arch/portable.h')
| -rw-r--r-- | src/arch/portable.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/portable.h b/src/arch/portable.h index d673f15..c7f2de0 100644 --- a/src/arch/portable.h +++ b/src/arch/portable.h | |||
| @@ -367,3 +367,19 @@ is_eo_even(cube_t cube) | |||
| 367 | 367 | ||
| 368 | return count % 2 == 0; | 368 | return count % 2 == 0; |
| 369 | } | 369 | } |
| 370 | |||
| 371 | STATIC_INLINE uint64_t | ||
| 372 | coord_epudsep(cube_t cube) | ||
| 373 | { | ||
| 374 | return coord_epudsep_array(cube.edge); | ||
| 375 | } | ||
| 376 | |||
| 377 | STATIC_INLINE cube_t | ||
| 378 | invcoord_epudsep(uint64_t c) | ||
| 379 | { | ||
| 380 | cube_t ret; | ||
| 381 | |||
| 382 | ret = SOLVED_CUBE; | ||
| 383 | invcoord_epudsep_array(c, ret.edge); | ||
| 384 | return ret; | ||
| 385 | } | ||
