Skip to main content

Crate rustfs_mimalloc_sys

Crate rustfs_mimalloc_sys 

Source
Expand description

Low-level FFI bindings to mimalloc V3 (v3.5.0).

For a safe wrapper, use the rustfs-mimalloc crate.

Structs§

mi_heap_area_t
mi_heap_t
mi_subproc_id_t
Subprocess identifier. Opaque handle — do not access fields directly.
mi_theap_t

Enums§

c_void
Equivalent to C’s void type when used as a pointer.
mi_option_t

Functions§

mi_arena_max_object_size
mi_arena_min_alignment
mi_arena_min_size
mi_calloc
mi_calloc_aligned
mi_collect
mi_free
mi_free_size
mi_free_small
mi_good_size
mi_heap_calloc
mi_heap_collect
mi_heap_contains
mi_heap_delete
mi_heap_destroy
mi_heap_main
mi_heap_malloc
mi_heap_malloc_aligned
mi_heap_new
mi_heap_new_in_arena
mi_heap_of
mi_heap_realloc
mi_heap_stats_get_json
mi_heap_stats_print_out
mi_heap_zalloc
mi_malloc
mi_malloc_aligned
mi_malloc_size
mi_malloc_small
mi_malloc_usable_size
mi_mallocn
mi_manage_os_memory_ex
mi_memalign
mi_option_disable
mi_option_enable
mi_option_get
mi_option_get_size
mi_option_is_enabled
mi_option_set
mi_posix_memalign
mi_process_info
mi_process_info_print_out
mi_realloc
mi_realloc_aligned
mi_reallocn
mi_reserve_os_memory_ex
mi_stats_get_json
mi_stats_print_out
mi_stats_reset
mi_strdup
mi_usable_size
mi_version
mi_zalloc
mi_zalloc_aligned
mi_zalloc_small

Type Aliases§

c_char
Equivalent to C’s char type.
c_int
Equivalent to C’s signed int (int) type.
c_long
Equivalent to C’s signed long (long) type.
mi_arena_id_t
Arena identifier. Opaque handle.
mi_block_visit_fun
mi_deferred_free_fun
mi_error_fun
mi_heap_visit_fun
mi_output_fun
size_t