summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-02-25 02:42:50 +0100
committerkdx <kikoodx@paranoici.org>2023-02-25 02:42:50 +0100
commit07cbe1243f1acd259f896624993288a676219acd (patch)
tree98fddaa5c92203bf5bc92c674f4af640b5d9eab2
downloadecs-07cbe1243f1acd259f896624993288a676219acd.tar.gz
initial commitHEADmain
-rw-r--r--Makefile3
-rw-r--r--ecs.c11
-rw-r--r--ecs.h10
3 files changed, 24 insertions, 0 deletions
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);