aboutsummaryrefslogtreecommitdiff
path: root/include/kpl.h
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-09-23 12:32:31 -0400
committernodist <kevin.comas.git@gmail.com>2026-09-23 12:32:31 -0400
commit07af98f3a5a54a8736109ed031d3177508943299 (patch)
tree032427fabed19c59349c51ce842517e6895a33b8 /include/kpl.h
parentd93466b950ff760a1dd7fd0c2d8ae72c8f1ee0b5 (diff)
add task queues
Diffstat (limited to 'include/kpl.h')
-rw-r--r--include/kpl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/kpl.h b/include/kpl.h
index 0e17ac6..4f1a74b 100644
--- a/include/kpl.h
+++ b/include/kpl.h
@@ -1,11 +1,14 @@
#pragma once
+#define KPL_VERSION "0.0.0"
+
// All headers in one file for including
-#include "kpl/macro.h"
+#include "kpl/queue.h"
#include "kpl/io.h"
#include "kpl/process.h"
+#include "kpl/code.h"
typedef enum : uint32_t {
KPL_CONFIG_FLAG_EVAL = 1 << 0,
@@ -15,9 +18,10 @@ typedef enum : uint32_t {
typedef struct {
uint32_t flags;
int32_t argc, main_module_arg_index;
- const char **argv, *module_extension;
+ const char **argv, *module_extension, *version;
kpl_config_io io;
kpl_config_thread thread;
+ kpl_config_code code;
} kpl_config;
void kpl_config_init(kpl_config *config);
@@ -30,4 +34,5 @@ typedef struct _kpl_env {
kpl_config config;
kpl_io io;
kpl_process process;
+ kpl_code code;
} kpl_env;