aboutsummaryrefslogtreecommitdiff
path: root/BigInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'BigInt.h')
-rw-r--r--BigInt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/BigInt.h b/BigInt.h
index 2324143..913e249 100644
--- a/BigInt.h
+++ b/BigInt.h
@@ -9,6 +9,7 @@ typedef void* BigInt;
BigInt B_new(MemoryManager *mm, int value);
BigInt B_newstr(MemoryManager *mm, const char* str);
+BigInt B_newbytes(MemoryManager *mm, usize bytes);
BigInt B_dup(MemoryManager *mm, BigInt bigint);
BigInt B_newsum(MemoryManager *mm, BigInt a, BigInt b);
@@ -22,6 +23,8 @@ Result B_free(BigInt *bigint);
Result B_sum(BigInt *a, BigInt b);
Result B_sub(BigInt *a, BigInt b);
+Result B_rshift(BigInt *x, usize shift);
+Result B_lshift(BigInt *x, usize shift);
/* Get */