aboutsummaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-11 13:57:21 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-11 13:57:21 -0400
commit273e2f995f1d74e9ef8e9a2e09a3ea2c2b16d839 (patch)
treef82e1af4b53232fc2ddc61d8bbfc0724c012e126 /types.c
parent75fbaa79bc88abe8868cb4508e9ab9390cb7b329 (diff)
Rename channel_t -> Channel_t for consistency
Diffstat (limited to 'types.c')
-rw-r--r--types.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/types.c b/types.c
index 6a1459c4..63f61066 100644
--- a/types.c
+++ b/types.c
@@ -403,7 +403,7 @@ PUREFUNC size_t type_size(type_t *t)
case TextType: return sizeof(Text_t);
case ArrayType: return sizeof(Array_t);
case SetType: return sizeof(Table_t);
- case ChannelType: return sizeof(channel_t*);
+ case ChannelType: return sizeof(Channel_t*);
case TableType: return sizeof(Table_t);
case FunctionType: return sizeof(void*);
case ClosureType: return sizeof(struct {void *fn, *userdata;});
@@ -481,7 +481,7 @@ PUREFUNC size_t type_align(type_t *t)
case TextType: return __alignof__(Text_t);
case SetType: return __alignof__(Table_t);
case ArrayType: return __alignof__(Array_t);
- case ChannelType: return __alignof__(channel_t*);
+ case ChannelType: return __alignof__(Channel_t*);
case TableType: return __alignof__(Table_t);
case FunctionType: return __alignof__(void*);
case ClosureType: return __alignof__(struct {void *fn, *userdata;});