0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 18:51:15 +01:00
cpython/Objects/mimalloc/prim
2024-07-14 12:50:25 -04:00
..
osx
unix gh-121731: Fix mimalloc compile error on GNU/Hurd (#121732) 2024-07-14 12:50:25 -04:00
wasi
windows
prim.c
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 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.