You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though the function is still listed in mimalloc.h, resulting in a link error. I tried patching it using the patch as described below, without luck resulting in a runtime error 0xC0000139: Entry Point Not Found.
From 0fce210f707fe12890877d381fd25af6e73b9eea Mon Sep 17 00:00:00 2001
From: Thomas Reynders
Date: Wed, 22 Jan 2025 13:50:05 +0100
Subject: [PATCH] patch(mimalloc): Restore declspec export for mi_is_redirected
- Create proxy function which exports the internal _mi_is_redirected through mi_is_redirected---
src/init.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/init.c b/src/init.c
index 734bf5d..a25fa06 100644
--- a/src/init.c+++ b/src/init.c@@ -558,6 +558,10 @@ bool mi_decl_noinline _mi_preloading(void) {
return os_preloading;
}
+mi_decl_nodiscard bool mi_is_redirected(void) mi_attr_noexcept {+ return _mi_is_redirected();+}+
// Called once by the process loader from `src/prim/prim.c`
void _mi_process_load(void) {
mi_heap_main_init();
--
2.47.1.windows.1
The text was updated successfully, but these errors were encountered:
Though the function is still listed in mimalloc.h, resulting in a link error. I tried patching it using the patch as described below, without luck resulting in a runtime error 0xC0000139: Entry Point Not Found.
This part was on me and is not an issue with mimalloc
version: mimalloc/1.8.9
os: Windows
After the completion of #869, see aa88173#diff-4eea39c9329dca2c31253a2770771a90ad6d20bb76241d71cb78d68a9291d337L521, the function implementation of mi_is_redirected was removed.
Though the function is still listed in mimalloc.h, resulting in a link error. I tried patching it using the patch as described below, without luck resulting in a runtime error0xC0000139: Entry Point Not Found.
The text was updated successfully, but these errors were encountered: