fix to overrides on windows

This commit is contained in:
daan 2019-07-18 21:20:18 -07:00
parent 93c8a5b693
commit 33aa5d92fa
6 changed files with 15 additions and 7 deletions

View file

@ -246,10 +246,10 @@ mi_decl_export void mi_option_set(mi_option_t option, long value);
mi_decl_export void mi_option_set_default(mi_option_t option, long value);
// --------------------------------------------------------------------------------------------
// mi prefixed implementations of various posix, Unix, Windows, and C++ allocation functions.
// (This can be convenient when providing overrides of these functions.)
// --------------------------------------------------------------------------------------------
// -------------------------------------------------------------------------------------------------------
// "mi" prefixed implementations of various posix, Unix, Windows, and C++ allocation functions.
// (This can be convenient when providing overrides of these functions as done in `mimalloc-override.h`.)
// -------------------------------------------------------------------------------------------------------
mi_decl_export size_t mi_malloc_size(const void* p) mi_attr_noexcept;
mi_decl_export size_t mi_malloc_usable_size(const void *p) mi_attr_noexcept;