diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-11 13:57:21 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-11 13:57:21 -0400 |
| commit | 273e2f995f1d74e9ef8e9a2e09a3ea2c2b16d839 (patch) | |
| tree | f82e1af4b53232fc2ddc61d8bbfc0724c012e126 /builtins/optionals.c | |
| parent | 75fbaa79bc88abe8868cb4508e9ab9390cb7b329 (diff) | |
Rename channel_t -> Channel_t for consistency
Diffstat (limited to 'builtins/optionals.c')
| -rw-r--r-- | builtins/optionals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/optionals.c b/builtins/optionals.c index 065d535a..687486db 100644 --- a/builtins/optionals.c +++ b/builtins/optionals.c @@ -34,7 +34,7 @@ static inline bool is_null(const void *obj, const TypeInfo *non_optional_type) return *(pthread_t**)obj == NULL; switch (non_optional_type->tag) { - case ChannelInfo: return *(channel_t**)obj == NULL; + case ChannelInfo: return *(Channel_t**)obj == NULL; case PointerInfo: return *(void**)obj == NULL; case TextInfo: return ((Text_t*)obj)->length < 0; case ArrayInfo: return ((Array_t*)obj)->length < 0; |
