mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
fix c++ compilation
This commit is contained in:
parent
6b15342709
commit
58fbb67963
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ mi_decl_export bool mi_abandoned_visit_blocks(mi_subproc_id_t subproc_id, int
|
||||||
// Experimental: create a new heap with a specified heap tag. Set `allow_destroy` to false to allow the thread
|
// Experimental: create a new heap with a specified heap tag. Set `allow_destroy` to false to allow the thread
|
||||||
// to reclaim abandoned memory (with a compatible heap_tag and arena_id) but in that case `mi_heap_destroy` will
|
// to reclaim abandoned memory (with a compatible heap_tag and arena_id) but in that case `mi_heap_destroy` will
|
||||||
// fall back to `mi_heap_delete`.
|
// fall back to `mi_heap_delete`.
|
||||||
mi_decl_export mi_decl_nodiscard mi_heap_t* mi_heap_new_ex(int heap_tag, bool allow_destroy, mi_arena_id_t arena_id);
|
mi_decl_nodiscard mi_decl_export mi_heap_t* mi_heap_new_ex(int heap_tag, bool allow_destroy, mi_arena_id_t arena_id);
|
||||||
|
|
||||||
// deprecated
|
// deprecated
|
||||||
mi_decl_export int mi_reserve_huge_os_pages(size_t pages, double max_secs, size_t* pages_reserved) mi_attr_noexcept;
|
mi_decl_export int mi_reserve_huge_os_pages(size_t pages, double max_secs, size_t* pages_reserved) mi_attr_noexcept;
|
||||||
|
|
Loading…
Add table
Reference in a new issue