From 07cbe1243f1acd259f896624993288a676219acd Mon Sep 17 00:00:00 2001 From: kdx Date: Sat, 25 Feb 2023 02:42:50 +0100 Subject: initial commit --- Makefile | 3 +++ ecs.c | 11 +++++++++++ ecs.h | 10 ++++++++++ 3 files changed, 24 insertions(+) create mode 100644 Makefile create mode 100644 ecs.c create mode 100644 ecs.h diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..65536a3 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +# kdx/ECS + +C99 ECS designed for ease of use and flexibility. diff --git a/ecs.c b/ecs.c new file mode 100644 index 0000000..15a44f1 --- /dev/null +++ b/ecs.c @@ -0,0 +1,11 @@ +#include "ecs.h" + +void ecs_init(EcsContext *ctx) +{ + (void)ctx; +} + +void ecs_deinit(EcsContext *ctx) +{ + (void)ctx; +} diff --git a/ecs.h b/ecs.h new file mode 100644 index 0000000..9698945 --- /dev/null +++ b/ecs.h @@ -0,0 +1,10 @@ +#pragma once + +typedef struct EcsContext EcsContext; + +struct EcsContext { + int _; +}; + +void ecs_init(EcsContext *ctx); +void ecs_deinit(EcsContext *ctx); -- cgit v1.2.3