Skip to content

Commit

Permalink
Remove unnecessary main function.
Browse files Browse the repository at this point in the history
  • Loading branch information
skejeton committed May 18, 2024
1 parent a84a7ef commit 51eef54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/umka
1 change: 0 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ int
th_init(const char *scriptpath, const char *script_src)
{
char *mainmod_fmt = "import (mainmod = \"%s\"; \"window.um\")\n"
"fn main() {}\n"
"fn __th_init*() {\n"
" _ := window::w\n"
" mainmod::init()\n"
Expand Down

0 comments on commit 51eef54

Please sign in to comment.