MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi_option_is_enabled

Function mi_option_is_enabled

3rd/mimalloc-2.0.9/src/options.c:154–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154mi_decl_nodiscard bool mi_option_is_enabled(mi_option_t option) {
155 return (mi_option_get(option) != 0);
156}
157
158void mi_option_set_enabled(mi_option_t option, bool enable) {
159 mi_option_set(option, (enable ? 1 : 0));

Callers 15

_mi_verbose_messageFunction · 0.85
mi_show_error_messageFunction · 0.85
_mi_warning_messageFunction · 0.85
mi_segment_cache_purgeFunction · 0.85
_mi_segment_cache_pushFunction · 0.85
mi_process_loadFunction · 0.85
mi_process_initFunction · 0.85
mi_process_doneFunction · 0.85
use_large_os_pageFunction · 0.85
_mi_os_initFunction · 0.85
mi_region_try_alloc_osFunction · 0.85
mi_region_try_allocFunction · 0.85

Calls 1

mi_option_getFunction · 0.85

Tested by

no test coverage detected