aboutsummaryrefslogtreecommitdiff
path: root/source/kpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/kpl.c')
-rw-r--r--source/kpl.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/kpl.c b/source/kpl.c
index 55ca994..d970eb3 100644
--- a/source/kpl.c
+++ b/source/kpl.c
@@ -5,7 +5,12 @@
#include "kpl.h"
#ifdef KPL_MAIN
-int32_t main(void) {
- return 0;
+int32_t main(int32_t argc, char *argv[]) {
+ int32_t exit_code = KPL_EXIT_CODE_SUCCESS;
+ kpl_env env = {};
+ if ((exit_code = kpl_env_config(&env, argc, argv)) != KPL_EXIT_CODE_SUCCESS)
+ return exit_code;
+ // TODO
+ return exit_code;
}
#endif