summaryrefslogtreecommitdiff
path: root/include/mimalloc-internal.h
diff options
context:
space:
mode:
authorDaan <daanl@outlook.com>2021-11-04 18:55:34 -0700
committerDaan <daanl@outlook.com>2021-11-04 18:55:34 -0700
commit464cba833ea6f00d266d877dc05e8004f6e3fc42 (patch)
treed08f97c73fc0de3762abfdd77f8ff07745d6698a /include/mimalloc-internal.h
parentf3ffa663f107b02f423c0038536cf10732493aa2 (diff)
parentc47de7eb9090cf8c0a5f307a74437cf927a361be (diff)
Merge branch 'dev' into dev-slice
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r--include/mimalloc-internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h
index 72ce44b..8b642c3 100644
--- a/include/mimalloc-internal.h
+++ b/include/mimalloc-internal.h
@@ -37,9 +37,9 @@ terms of the MIT license. A copy of the license can be found in the file
#endif
#if defined(__cplusplus)
-#define mi_decl_externc extern "C"
+#define mi_decl_externc extern "C"
#else
-#define mi_decl_externc
+#define mi_decl_externc
#endif
// "options.c"
@@ -107,7 +107,7 @@ void _mi_abandoned_await_readers(void);
// "page.c"
void* _mi_malloc_generic(mi_heap_t* heap, size_t size) mi_attr_noexcept mi_attr_malloc;
-void _mi_page_retire(mi_page_t* page); // free the page if there are no other pages with many free blocks
+void _mi_page_retire(mi_page_t* page) mi_attr_noexcept; // free the page if there are no other pages with many free blocks
void _mi_page_unfull(mi_page_t* page);
void _mi_page_free(mi_page_t* page, mi_page_queue_t* pq, bool force); // free the page
void _mi_page_abandon(mi_page_t* page, mi_page_queue_t* pq); // abandon the page, to be picked up by another thread...