Merge branch 'dev' into dev3

This commit is contained in:
Daan 2025-02-09 19:24:23 -08:00
commit 02311cb126
2 changed files with 23 additions and 6 deletions

View file

@ -300,7 +300,17 @@ static void test_leak(void) {
}
#endif
#if defined(USE_STD_MALLOC) && defined(MI_LINK_VERSION)
#ifdef __cplusplus
extern "C"
#endif
int mi_version(void);
#endif
int main(int argc, char** argv) {
#ifdef MI_LINK_VERSION
mi_version();
#endif
#ifdef HEAP_WALK
mi_option_enable(mi_option_visit_abandoned);
#endif