Skip to content

Commit 2ed97f3

Browse files
committed
whitespace
1 parent f17ddc3 commit 2ed97f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/mimalloc.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,19 +294,19 @@ mi_decl_nodiscard mi_decl_export mi_heap_t* mi_heap_new_in_arena(mi_arena_id_t a
294294
typedef void* mi_subproc_id_t;
295295
mi_decl_export mi_subproc_id_t mi_subproc_main(void);
296296
mi_decl_export mi_subproc_id_t mi_subproc_new(void);
297-
mi_decl_export void mi_subproc_delete(mi_subproc_id_t subproc);
298-
mi_decl_export void mi_subproc_add_current_thread(mi_subproc_id_t subproc); // this should be called right after a thread is created (and no allocation has taken place yet)
297+
mi_decl_export void mi_subproc_delete(mi_subproc_id_t subproc);
298+
mi_decl_export void mi_subproc_add_current_thread(mi_subproc_id_t subproc); // this should be called right after a thread is created (and no allocation has taken place yet)
299299

300300
// Experimental: visit abandoned heap areas (from threads that have been terminated)
301-
mi_decl_export bool mi_abandoned_visit_blocks(mi_subproc_id_t subproc_id, int heap_tag, bool visit_blocks, mi_block_visit_fun* visitor, void* arg);
301+
mi_decl_export bool mi_abandoned_visit_blocks(mi_subproc_id_t subproc_id, int heap_tag, bool visit_blocks, mi_block_visit_fun* visitor, void* arg);
302302

303303
// Experimental: create a new heap with a specified heap tag. Set `allow_destroy` to false to allow the thread
304304
// to reclaim abandoned memory (with a compatible heap_tag and arena_id) but in that case `mi_heap_destroy` will
305305
// fall back to `mi_heap_delete`.
306306
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);
307307

308308
// deprecated
309-
mi_decl_export int mi_reserve_huge_os_pages(size_t pages, double max_secs, size_t* pages_reserved) mi_attr_noexcept;
309+
mi_decl_export int mi_reserve_huge_os_pages(size_t pages, double max_secs, size_t* pages_reserved) mi_attr_noexcept;
310310

311311

312312
// ------------------------------------------------------

0 commit comments

Comments
 (0)