diff options
Diffstat (limited to 'source/array.c')
| -rw-r--r-- | source/array.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source/array.c b/source/array.c new file mode 100644 index 0000000..4366ec5 --- /dev/null +++ b/source/array.c @@ -0,0 +1,21 @@ + +#include "kpl.h" + +// TODO ARRAY INTERFACE + +kpl_object_array *kpl_object_array_create(kpl_thread *thread, kpl_value_bit_width value_bit_width, + int32_t value_size) { + if (value_size < 1 || value_size > KPL_ARRAY_MAX_VALUE_SIZE) + return NULL; + kpl_object_array *object_array = NULL; + switch (value_bit_width) { + // TODO + default: + return NULL; + } + (void) thread; + // TODO + return object_array; +} + +extern inline void kpl_object_array_destroy(kpl_thread *thread, kpl_object_array *object_array); |
