cpython/Objects/mimalloc/prim
Miss Islington (bot) a1a4cfcc8e
[3.13] gh-123826: Fix unused function warnings in mimalloc on NetBSD (GH-123827) (#123875)
gh-123826: Fix unused function warnings in mimalloc on NetBSD (GH-123827)
(cherry picked from commit 4a6b1f1796)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2024-09-30 01:58:09 +00:00
..
osx
unix [3.13] gh-123826: Fix unused function warnings in mimalloc on NetBSD (GH-123827) (#123875) 2024-09-30 01:58:09 +00:00
wasi
windows chore: fix typos (#116345) 2024-03-05 09:05:52 -07:00
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 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.