Warning: That file was not part of the compilation database. It may have many parsing errors.
| 1 | /* @title: Slab Allocator Hint Mechanism */ |
|---|---|
| 2 | #pragma once |
| 3 | #include <stdbool.h> |
| 4 | #include <stddef.h> |
| 5 | #include <stdint.h> |
| 6 | |
| 7 | enum slab_hint_type { |
| 8 | SLAB_HINT_ALLOCS_SOON, |
| 9 | SLAB_HINT_FREES_SOON, |
| 10 | }; |
| 11 | |
| 12 | enum slab_hint_error { SLAB_HINT_OK }; |
| 13 | |
| 14 | struct slab_hint_param { |
| 15 | uint64_t param1, param2, param3, param4; |
| 16 | }; |
| 17 | |
| 18 | enum slab_hint_error slab_hint(enum slab_hint_type, struct slab_hint_param); |
| 19 |
Warning: That file was not part of the compilation database. It may have many parsing errors.