mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-08 16:29:31 +03:00
.. | ||
osx | ||
unix | ||
wasi | ||
windows | ||
prim.c | ||
readme.md |
Portability Primitives
This is the portability layer where all primitives needed from the OS are defined.
prim.h
: API definitionprim.c
: Selects one ofunix/prim.c
,wasi/prim.c
, orwindows/prim.c
depending on the host platform.
Note: still work in progress, there may still be places in the sources that still depend on OS ifdef's.