From c72b0406a32ffc3f04324f7b6c321486762fca41 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 16 Aug 2025 17:21:01 -0400 Subject: Improved parsing and prefix/suffix matching using a `remainder` parameter --- src/stdlib/bools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdlib/bools.h') 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); } -- cgit v1.2.3