aboutsummaryrefslogtreecommitdiff
path: root/src/arch/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/common.h')
-rw-r--r--src/arch/common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/arch/common.h b/src/arch/common.h
new file mode 100644
index 0000000..cd2d36e
--- /dev/null
+++ b/src/arch/common.h
@@ -0,0 +1,19 @@
1_static void pieces(cube_t *, uint8_t [static 8], uint8_t [static 12]);
2_static_inline bool equal(cube_t, cube_t);
3_static_inline cube_t invertco(cube_t);
4_static_inline cube_t compose_epcpeo(cube_t, cube_t);
5_static_inline cube_t compose_edges(cube_t, cube_t);
6_static_inline cube_t compose_corners(cube_t, cube_t);
7_static_inline cube_t compose(cube_t, cube_t);
8_static_inline cube_t inverse(cube_t);
9
10_static_inline int64_t coord_co(cube_t);
11_static_inline int64_t coord_csep(cube_t);
12_static_inline int64_t coord_cocsep(cube_t);
13_static_inline int64_t coord_eo(cube_t);
14_static_inline int64_t coord_esep(cube_t);
15
16_static_inline void copy_corners(cube_t *, cube_t);
17_static_inline void copy_edges(cube_t *, cube_t);
18_static_inline void set_eo(cube_t *, int64_t);
19_static_inline cube_t invcoord_esep(int64_t);

Generated with cgit - Back to sebastiano.tronto.net