hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit f984032f1acfb5d4c34226eaea52c801d35a370b
parent 44015e369771772c8561bc961cc38ed079702aed
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sat,  7 Sep 2024 16:42:15 -0400

types::c: s/SHORT/SHRT/g

This is consistent with the macro names in limits.h. All other constants
mimick the limits.h names, so these should as well.

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mtypes/c/arch+aarch64.ha | 4++--
Mtypes/c/arch+riscv64.ha | 4++--
Mtypes/c/arch+x86_64.ha | 4++--
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/types/c/arch+aarch64.ha b/types/c/arch+aarch64.ha @@ -16,10 +16,10 @@ export def CHAR_MAX: char = UCHAR_MAX; export type short = i16; // Minimum value which can be stored in a [[short]] type. -export def SHORT_MIN: short = types::I16_MIN; +export def SHRT_MIN: short = types::I16_MIN; // Maximum value which can be stored in a [[short]] type. -export def SHORT_MAX: short = types::I16_MAX; +export def SHRT_MAX: short = types::I16_MAX; // Integer type compatible with `unsigned short`, as specified by ISO/IEC 9899. export type ushort = u16; diff --git a/types/c/arch+riscv64.ha b/types/c/arch+riscv64.ha @@ -16,10 +16,10 @@ export def CHAR_MAX: char = UCHAR_MAX; export type short = i16; // Minimum value which can be stored in a [[short]] type. -export def SHORT_MIN: short = types::I16_MIN; +export def SHRT_MIN: short = types::I16_MIN; // Maximum value which can be stored in a [[short]] type. -export def SHORT_MAX: short = types::I16_MAX; +export def SHRT_MAX: short = types::I16_MAX; // Integer type compatible with `unsigned short`, as specified by ISO/IEC 9899. export type ushort = u16; diff --git a/types/c/arch+x86_64.ha b/types/c/arch+x86_64.ha @@ -16,10 +16,10 @@ export def CHAR_MAX: char = SCHAR_MAX; export type short = i16; // Minimum value which can be stored in a [[short]] type. -export def SHORT_MIN: short = types::I16_MIN; +export def SHRT_MIN: short = types::I16_MIN; // Maximum value which can be stored in a [[short]] type. -export def SHORT_MAX: short = types::I16_MAX; +export def SHRT_MAX: short = types::I16_MAX; // Integer type compatible with `unsigned short`, as specified by ISO/IEC 9899. export type ushort = u16;