summaryrefslogtreecommitdiff
path: root/src/math.h
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-05-31 11:48:58 -0300
committerEuAndreh <eu@euandre.org>2024-05-31 11:48:58 -0300
commitfa2862fa648cca9a181184a849444409d07e9fb2 (patch)
tree3f3e79879df960b493f9c5f903464b03dc321855 /src/math.h
parentsrc/util.h: Add EXIT_USAGE (diff)
downloadpindaiba-fa2862fa648cca9a181184a849444409d07e9fb2.tar.gz
pindaiba-fa2862fa648cca9a181184a849444409d07e9fb2.tar.xz
src/math.h: Add "add_size()"
Diffstat (limited to 'src/math.h')
-rw-r--r--src/math.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math.h b/src/math.h
index 13f1795..4dab4a7 100644
--- a/src/math.h
+++ b/src/math.h
@@ -1,2 +1,5 @@
int
+add_size(const size_t x, const size_t y, size_t *const out);
+
+int
mul_size(const size_t x, const size_t y, size_t *const out);