mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
add test for mimalloc override on Windows (issue #981)
This commit is contained in:
parent
5764845c4d
commit
1711a82756
6 changed files with 419 additions and 7 deletions
11
test/main-override-dep.h
Normal file
11
test/main-override-dep.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
// Issue #981: test overriding allocation in a DLL that is compiled independent of mimalloc.
|
||||
// This is imported by the `mimalloc-test-override` project.
|
||||
|
||||
#include <string>
|
||||
|
||||
class TestAllocInDll
|
||||
{
|
||||
public:
|
||||
__declspec(dllexport) std::string GetString();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue