aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-02-13 11:13:02 +0100
committerkdx <kikoodx@paranoici.org>2023-02-13 11:46:56 +0100
commit15864008b90cf2d543b6a98f55e925aa6d69f119 (patch)
tree1d1e0a41d82ad498f12c9eb2e923d7ae0d958074 /main.c
parente3003242c3dfcc0d218f38f8f1f5776b2f68f213 (diff)
downloadtzr-15864008b90cf2d543b6a98f55e925aa6d69f119.tar.gz
load resource from memory
Diffstat (limited to 'main.c')
-rw-r--r--main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..31a91cb
--- /dev/null
+++ b/main.c
@@ -0,0 +1,11 @@
+#include "headers/TZR.h"
+
+int main(int argc, char **argv)
+{
+ (void)argc, (void)argv;
+ if (TZR_Init())
+ return 1;
+ if (atexit(TZR_Quit))
+ return TZR_Quit(), 1;
+ return 0;
+}