From 1a6ce0047bbc5125c386f65ae348688f98a9bb3f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 30 Sep 2024 14:39:30 -0400 Subject: Rename TypeInfo -> TypeInfo_t and fix up some typeinfo code --- stdlib/channels.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stdlib/channels.h') diff --git a/stdlib/channels.h b/stdlib/channels.h index 8deb0569..c960452a 100644 --- a/stdlib/channels.h +++ b/stdlib/channels.h @@ -20,9 +20,9 @@ void Channel$peek(Channel_t *channel, void *out, bool front, int64_t item_size); #define Channel$peek_value(channel, front, t) ({ t _val; Channel$peek(channel, &_val, front, sizeof(t)); _val; }) void Channel$clear(Channel_t *channel); Array_t Channel$view(Channel_t *channel); -PUREFUNC uint64_t Channel$hash(Channel_t **channel, const TypeInfo *type); -PUREFUNC int32_t Channel$compare(Channel_t **x, Channel_t **y, const TypeInfo *type); -PUREFUNC bool Channel$equal(Channel_t **x, Channel_t **y, const TypeInfo *type); -Text_t Channel$as_text(Channel_t **channel, bool colorize, const TypeInfo *type); +PUREFUNC uint64_t Channel$hash(Channel_t **channel, const TypeInfo_t *type); +PUREFUNC int32_t Channel$compare(Channel_t **x, Channel_t **y, const TypeInfo_t *type); +PUREFUNC bool Channel$equal(Channel_t **x, Channel_t **y, const TypeInfo_t *type); +Text_t Channel$as_text(Channel_t **channel, bool colorize, const TypeInfo_t *type); // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3