summaryrefslogtreecommitdiff
path: root/doc/mimalloc-doc.h
diff options
context:
space:
mode:
authordaan <daanl@outlook.com>2020-01-17 15:39:06 -0800
committerdaan <daanl@outlook.com>2020-01-17 15:39:06 -0800
commit9453d8b4683ccc347458666bf3a10de7fa8c2638 (patch)
tree2f47930a62a5f8a6a1a77673ed2ba52da8eece9e /doc/mimalloc-doc.h
parentdc94d25890e965fb317ee15f4bca6e7b30b8898f (diff)
update documentation
Diffstat (limited to 'doc/mimalloc-doc.h')
-rw-r--r--doc/mimalloc-doc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/mimalloc-doc.h b/doc/mimalloc-doc.h
index 71cc158..ea526b1 100644
--- a/doc/mimalloc-doc.h
+++ b/doc/mimalloc-doc.h
@@ -784,6 +784,9 @@ void mi_free_aligned(void* p, size_t alignment);
/// raise `std::bad_alloc` exception on failure.
void* mi_new(std::size_t n) noexcept(false);
+/// raise `std::bad_alloc` exception on failure or overflow.
+void* mi_new_n(size_t count, size_t size) noexcept(false);
+
/// raise `std::bad_alloc` exception on failure.
void* mi_new_aligned(std::size_t n, std::align_val_t alignment) noexcept(false);