mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 03:48:42 +03:00
Merge branch 'dev-platform' into dev-slice-platform
This commit is contained in:
commit
4a18fa3775
4 changed files with 6 additions and 5 deletions
|
@ -2,7 +2,8 @@
|
|||
|
||||
This is the portability layer where all primitives needed from the OS are defined.
|
||||
|
||||
- `prim.h`: API definition
|
||||
- `prim.c`: Selects one of `unix/prim.c`, `wasi/prim.c`, or `windows/prim.c` depending on the host platform.
|
||||
- `include/mimalloc/prim.h`: primitive portability API definition.
|
||||
- `prim.c`: Selects one of `unix/prim.c`, `wasi/prim.c`, or `windows/prim.c` depending on the host platform
|
||||
(and on macOS, `osx/prim.c` defers to `unix/prim.c`).
|
||||
|
||||
Note: still work in progress, there may still be places in the sources that still depend on OS ifdef's.
|
Loading…
Add table
Add a link
Reference in a new issue