aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/class.h
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-10-20 14:11:31 -0400
committernodist <kevin.comas.git@gmail.com>2026-10-20 14:11:31 -0400
commit689719e0a1f139e28e57a4df334d5fde354b3379 (patch)
tree2b5e0d0c4aced4886ff3c67729adceba45cac3b0 /include/kpl/class.h
parentbaa6f9cdea938c06435635f906b128f7940a59ec (diff)
config parse cli arguments
Diffstat (limited to 'include/kpl/class.h')
-rw-r--r--include/kpl/class.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/include/kpl/class.h b/include/kpl/class.h
index f7f9678..5957a98 100644
--- a/include/kpl/class.h
+++ b/include/kpl/class.h
@@ -4,33 +4,11 @@
#pragma once
-typedef uint8_t kpl_utf8[4];
-
-typedef union {
- uint8_t u8;
- int8_t i8;
- uint16_t u16;
- int16_t i16;
- uint32_t u32;
- int32_t i32;
- uint64_t u64;
- int64_t i64;
- kpl_utf8 utf8;
- float f32;
- double f64;
- void *ptr;
-} kpl_value;
-
-typedef struct {
- kpl_value value;
- int64_t tag;
-} kpl_result;
-
typedef struct {
// TODO KPL INTERFACE
} kpl_interface;
typedef struct {
- kpl_value value;
+ kpl_value64 value;
kpl_interface *interface;
} kpl_class;