From 1e3fb8a2c0cca385d65c52679411b118b5fb4641 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Nov 2024 16:18:21 -0500 Subject: Rename "NULL" to "NONE" --- stdlib/integers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/integers.c') diff --git a/stdlib/integers.c b/stdlib/integers.c index 3b95c994..baf1b0c8 100644 --- a/stdlib/integers.c +++ b/stdlib/integers.c @@ -303,7 +303,7 @@ public Int_t Int$power(Int_t base, Int_t exponent) public OptionalInt_t Int$sqrt(Int_t i) { if (Int$compare_value(i, I(0)) < 0) - return NULL_INT; + return NONE_INT; mpz_t result; mpz_init_set_int(result, i); mpz_sqrt(result, result); @@ -327,7 +327,7 @@ public Int_t Int$from_str(const char *str) { result = mpz_init_set_str(i, str, 10); } if (result != 0) - return NULL_INT; + return NONE_INT; return Int$from_mpz(i); } -- cgit v1.2.3