From 7d15a8963811ee4141a824de7cd7494132cb2d3e Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 28 May 2026 16:09:10 +0300 Subject: feat: Remove newX functions --- BigInt.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'BigInt.c') diff --git a/BigInt.c b/BigInt.c index fe0eedf..e9f6565 100644 --- a/BigInt.c +++ b/BigInt.c @@ -141,32 +141,6 @@ B_dup(MemoryManager *mm, const BigInt bigint) { return start; } -BigInt -B_newsum(MemoryManager *mm, BigInt a, BigInt b) { - BigInt total = B_dup(mm, a); - - if (NULL == total || - R_Ok != B_sum(&total, b)) - { - return NULL; - } - - return total; -} - -BigInt -B_newsub(MemoryManager *mm, BigInt a, BigInt b) { - BigInt total = B_dup(mm, a); - - if (NULL == total || - R_Ok != B_sub(&total, b)) - { - return NULL; - } - - return total; -} - /* Free */ Result -- cgit v1.2.3