From f4e38fd061a158ecb94881273c6db6e6a332f61d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 17 Aug 2025 20:35:09 -0400 Subject: =?UTF-8?q?Switch=20from=20using=20dollar=20signs=20as=20namespace?= =?UTF-8?q?=20delimiters=20to=20using=20=E3=80=85,=20=E3=83=BD,=20and=20?= =?UTF-8?q?=E3=80=87.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stdlib/bytes.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/stdlib/bytes.h') diff --git a/src/stdlib/bytes.h b/src/stdlib/bytes.h index ab88b5bc..669303d4 100644 --- a/src/stdlib/bytes.h +++ b/src/stdlib/bytes.h @@ -13,24 +13,24 @@ #define Byte(b) ((Byte_t)(b)) -PUREFUNC Text_t Byte$as_text(const void *b, bool colorize, const TypeInfo_t *type); +PUREFUNC Text_t Byteヽas_text(const void *b, bool colorize, const TypeInfo_t *type); -Byte_t Byte$from_int(Int_t i, bool truncate); -Byte_t Byte$from_int64(int64_t i, bool truncate); -Byte_t Byte$from_int32(int32_t i, bool truncate); -Byte_t Byte$from_int16(int16_t i, bool truncate); -OptionalByte_t Byte$parse(Text_t text, Text_t *remainder); -Closure_t Byte$to(Byte_t first, Byte_t last, OptionalInt8_t step); -MACROLIKE Byte_t Byte$from_int8(int8_t i) { return (Byte_t)i; } -MACROLIKE Byte_t Byte$from_bool(bool b) { return (Byte_t)b; } -CONSTFUNC bool Byte$is_between(const Byte_t x, const Byte_t low, const Byte_t high); +Byte_t Byteヽfrom_int(Int_t i, bool truncate); +Byte_t Byteヽfrom_int64(int64_t i, bool truncate); +Byte_t Byteヽfrom_int32(int32_t i, bool truncate); +Byte_t Byteヽfrom_int16(int16_t i, bool truncate); +OptionalByte_t Byteヽparse(Text_t text, Text_t *remainder); +Closure_t Byteヽto(Byte_t first, Byte_t last, OptionalInt8_t step); +MACROLIKE Byte_t Byteヽfrom_int8(int8_t i) { return (Byte_t)i; } +MACROLIKE Byte_t Byteヽfrom_bool(bool b) { return (Byte_t)b; } +CONSTFUNC bool Byteヽis_between(const Byte_t x, const Byte_t low, const Byte_t high); -extern const Byte_t Byte$min; -extern const Byte_t Byte$max; +extern const Byte_t Byteヽmin; +extern const Byte_t Byteヽmax; -extern const TypeInfo_t Byte$info; +extern const TypeInfo_t Byteヽinfo; -Text_t Byte$hex(Byte_t byte, bool uppercase, bool prefix); -bool Byte$get_bit(Byte_t x, Int_t bit_index); +Text_t Byteヽhex(Byte_t byte, bool uppercase, bool prefix); +bool Byteヽget_bit(Byte_t x, Int_t bit_index); // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3