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.
14 lines
358 B
C
14 lines
358 B
C
#ifndef JEMALLOC_INTERNAL_SLAB_DATA_H
|
|
#define JEMALLOC_INTERNAL_SLAB_DATA_H
|
|
|
|
#include "jemalloc/internal/jemalloc_preamble.h"
|
|
#include "jemalloc/internal/bitmap.h"
|
|
|
|
typedef struct slab_data_s slab_data_t;
|
|
struct slab_data_s {
|
|
/* Per region allocated/deallocated bitmap. */
|
|
bitmap_t bitmap[BITMAP_GROUPS_MAX];
|
|
};
|
|
|
|
#endif /* JEMALLOC_INTERNAL_SLAB_DATA_H */
|