diff options
| author | nasr <nsrddyn@gmail.com> | 2026-04-17 13:35:00 +0200 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-04-17 13:35:00 +0200 |
| commit | d184ac5bd33dfa02b5c157d086b7dd0491aa5b1a (patch) | |
| tree | 77fc3ffc75e5d80638c2eef4d3c075ec15257a79 /source/scb/scb.c | |
| parent | 154bf6f53529e88dfa03d6ff5034b575f92cdbb5 (diff) | |
checkpointmain
Diffstat (limited to 'source/scb/scb.c')
| -rwxr-xr-x | source/scb/scb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/scb/scb.c b/source/scb/scb.c index d81f244..2a6cf43 100755 --- a/source/scb/scb.c +++ b/source/scb/scb.c | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | #include "scb.h" | 1 | #include "scb.h" |
| 2 | 2 | ||
| 3 | s32 main(s32 argument_count, char **argument, char **env) | 3 | int main(s32 argument_count, char **argument, char **env) |
| 4 | { | 4 | { |
| 5 | mem_arena *global_arena = arena_create(MiB(10)); | ||
| 5 | assert_msg(argument_count < 2, "no arguments passed to scb"); | 6 | assert_msg(argument_count < 2, "no arguments passed to scb"); |
| 6 | init(argument_count, argument, env); | 7 | init(argument_count, argument, env); |
| 7 | 8 | ||
| 9 | arena_destroy(global_arena); | ||
| 10 | return 0; | ||
| 8 | } | 11 | } |
