41e0b857be
Header files are now self-contained, which makes the relationships between the files clearer, and crucially allows LSP tools like `clangd` to function correctly in all of our header files. I have verified that the headers are self-contained (aside from the various Windows shims) by compiling them as if they were C files – in a follow-up commit I plan to add this to CI to ensure we don't regress on this front.
13 lines
378 B
C
13 lines
378 B
C
#ifndef JEMALLOC_INTERNAL_EXTENT_MMAP_EXTERNS_H
|
|
#define JEMALLOC_INTERNAL_EXTENT_MMAP_EXTERNS_H
|
|
|
|
#include "jemalloc/internal/jemalloc_preamble.h"
|
|
|
|
extern bool opt_retain;
|
|
|
|
void *extent_alloc_mmap(void *new_addr, size_t size, size_t alignment,
|
|
bool *zero, bool *commit);
|
|
bool extent_dalloc_mmap(void *addr, size_t size);
|
|
|
|
#endif /* JEMALLOC_INTERNAL_EXTENT_MMAP_EXTERNS_H */
|