commit 7742e4fed4787ed92030eaef6288c7fb15b38806
parent 0faa973f557065968b434fc852364d6e4cb4d3a7
Author: gearsix <gearsix@tuta.io>
Date: Mon, 27 Sep 2021 09:57:25 +0100
comment doc for htrack_setlimit
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/htrack.h b/htrack.h
@@ -14,6 +14,7 @@ size_t htrack_siz();
/* the max. number of heap-allocated bytes htrack will allow */
size_t htrack_limit();
+/* set the max. number of heap-allocated bytes htrack will allow, 0 = infinite */
size_t htrack_setlimit(size_t n);
/* The number of bytes allocated for `ptr`.