aboutsummaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorChristian Cunningham <cc@local.lan>2025-03-07 23:48:17 -0800
committerChristian Cunningham <cc@local.lan>2025-03-07 23:48:17 -0800
commit9b414ed91b205561346d8519016a3e9a7c1304db (patch)
treee767747b5fd49b3bb2c2693328844b5ea0368b52 /include/lib
parentcce115efbcea123b55e74a81979273681f17718f (diff)
Testing suite
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/color.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib/color.h b/include/lib/color.h
index 5e7128b..1bc9393 100644
--- a/include/lib/color.h
+++ b/include/lib/color.h
@@ -7,11 +7,11 @@
// Color Equal to Background
// Background: zeros in RGB, alpha can be whatever
-bool_t color_zero(uint8_t* color1, size_t channels);
+bool_t color_zero(const uint8_t* color1, size_t channels);
// Color Equality
// Determine if two colors are identical
-bool_t color_equal(uint8_t* color1, uint8_t* color2, size_t channels);
+bool_t color_equal(const uint8_t* color1, const uint8_t* color2, size_t channels);
// Print out the `channels` length color vector
void print_color(uint8_t* color, size_t channels);