mirror of https://github.com/python/cpython
767f71466d
(cherry picked from commit
|
||
---|---|---|
.. | ||
osx | ||
unix | ||
wasi | ||
windows | ||
prim.c | ||
readme.md |
readme.md
Portability Primitives
This is the portability layer where all primitives needed from the OS are defined.
include/mimalloc/prim.h
: primitive portability API definition.prim.c
: Selects one ofunix/prim.c
,wasi/prim.c
, orwindows/prim.c
depending on the host platform (and on macOS,osx/prim.c
defers tounix/prim.c
).
Note: still work in progress, there may still be places in the sources that still depend on OS ifdef's.