mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
comments
This commit is contained in:
parent
287010578d
commit
65402836ae
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