aboutsummaryrefslogtreecommitdiff
path: root/src/core/cube.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-09-17 21:50:34 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-09-17 21:50:34 +0200
commit1f7e8e937d0e71e7eb3b5deab38b34d0a0159d88 (patch)
tree3eddf00f6f44356596b688325d4ef197c0e673e0 /src/core/cube.h
parentaa306fa0a2047f30d585da7923f963e8d321aa0b (diff)
downloadnissy-core-1f7e8e937d0e71e7eb3b5deab38b34d0a0159d88.tar.gz
nissy-core-1f7e8e937d0e71e7eb3b5deab38b34d0a0159d88.zip
Added include guardsHEADmasterinclude-guards
Diffstat (limited to '')
-rw-r--r--src/core/cube.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/cube.h b/src/core/cube.h
index 1c21ce1..1dc6b61 100644
--- a/src/core/cube.h
+++ b/src/core/cube.h
@@ -1,3 +1,6 @@
1#ifndef CORE_CUBE_H
2#define CORE_CUBE_H
3
1STATIC bool cube_true(cube_t); 4STATIC bool cube_true(cube_t);
2 5
3STATIC cube_t cubefromarray(uint8_t [SIZE(8)], uint8_t [SIZE(12)]); 6STATIC cube_t cubefromarray(uint8_t [SIZE(8)], uint8_t [SIZE(12)]);
@@ -369,3 +372,5 @@ cornertob32(uint8_t corner)
369 372
370 return val < 26 ? 'A' + (char)val : 'a' + (char)(val - 26); 373 return val < 26 ? 'A' + (char)val : 'a' + (char)(val - 26);
371} 374}
375
376#endif /* CORE_CUBE_H */

Generated with cgit - Back to sebastiano.tronto.net