diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-16 17:21:01 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-16 17:21:01 -0400 |
| commit | c72b0406a32ffc3f04324f7b6c321486762fca41 (patch) | |
| tree | 244e51c858890ea2ffb8c74a2c33c81b79de376e /src/stdlib/bools.h | |
| parent | 849fd423a759edf1b58b548a6148c177a6f8cd71 (diff) | |
Improved parsing and prefix/suffix matching using a `remainder`
parameter
Diffstat (limited to 'src/stdlib/bools.h')
| -rw-r--r-- | src/stdlib/bools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/bools.h b/src/stdlib/bools.h index 6d0300d5..ae6c5feb 100644 --- a/src/stdlib/bools.h +++ b/src/stdlib/bools.h @@ -13,7 +13,7 @@ #define no (Bool_t)false PUREFUNC Text_t Bool$as_text(const void *b, bool colorize, const TypeInfo_t *type); -OptionalBool_t Bool$parse(Text_t text); +OptionalBool_t Bool$parse(Text_t text, Text_t *remainder); MACROLIKE Bool_t Bool$from_int(Int_t i) { return (i.small != 0); } MACROLIKE Bool_t Bool$from_int64(Int64_t i) { return (i != 0); } MACROLIKE Bool_t Bool$from_int32(Int32_t i) { return (i != 0); } |
