summaryrefslogtreecommitdiff
path: root/include/osm
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-05-04 02:39:07 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-05-04 02:39:07 -0400
commita85727c41263b83f5363b43a15ba02317f3b5081 (patch)
tree34cf516611cff0756db12029ad3062e2d0c55375 /include/osm
parent50871e715812060a8dfb515fe2b432b1778583d6 (diff)
Color copy and free
Diffstat (limited to 'include/osm')
-rw-r--r--include/osm/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osm/types.h b/include/osm/types.h
index 5120098..08a0d03 100644
--- a/include/osm/types.h
+++ b/include/osm/types.h
@@ -57,7 +57,7 @@ bool osm_is_nan(OSMFloat f);
/// if positive infinity, returns 1
/// if negative infinity, returns -1
/// otherwise returns 0
-uint8_t osm_is_infinity(OSMFloat f);
+int8_t osm_is_infinity(OSMFloat f);
@@ -88,10 +88,10 @@ OSMColor osm_rgb_to_color(uint8_t r, uint8_t g, uint8_t b);
OSMColor osm_int_to_color(uint32_t c);
/// Deep copy a color struct
-OSMColor osm_color_copy(OSMColor color);
+OSMColor osm_color_copy(const OSMColor *color);
/// Free a color struct
-void osm_color_free(OSMColor color);
+void osm_color_free(OSMColor *color);