diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-10-12 11:06:37 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-10-12 11:06:37 -0400 |
| commit | 332c114cf633f70027c28ec6bedb898d9de85e51 (patch) | |
| tree | 0a9bb4760772e5e407c1aef9b896d65165f82f6c /include/kpl.h | |
| parent | 4ee5b8d6a9ebf49ce30ff7d93ef7401039ffecc6 (diff) | |
basic allocator with valgrind testing
Diffstat (limited to 'include/kpl.h')
| -rw-r--r-- | include/kpl.h | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/include/kpl.h b/include/kpl.h index 913edb7..1d53bef 100644 --- a/include/kpl.h +++ b/include/kpl.h @@ -4,6 +4,44 @@ #pragma once -#include "kpl/runtime.h" - #define KPL_VERSION "0.0.0" + +// System includes +#include <stdlib.h> +#include <stdio.h> +#include <stdint.h> +#include <stdbool.h> +#include <stddef.h> +#include <string.h> +#include <ctype.h> +#include <limits.h> +#include <pthread.h> +#include <semaphore.h> +#include <fcntl.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/ioctl.h> +#include <sys/mman.h> +#include <sys/uio.h> +#include <sys/param.h> +#include <linux/fs.h> +#include <linux/io_uring.h> +#ifdef KPL_VALGRIND +#include <valgrind/valgrind.h> +#include <valgrind/memcheck.h> +#endif + +// KPL forward declarations +typedef struct _kpl_task kpl_task; + +typedef struct _kpl_thread kpl_thread; + +typedef struct _kpl_env kpl_env; + +// KPL includes +#include "kpl/color.h" +#include "kpl/class.h" +#include "kpl/object.h" +#include "kpl/tree.h" +#include "kpl/memory.h" +#include "kpl/env.h" |
