Skip to content

Commit

Permalink
@extern("main") @wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
brentharts authored Sep 30, 2024
1 parent ce953ff commit fbaa485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tri.c3
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ float [] indices = {
1, 2, 3
};

fn int main()
fn int main() @extern("main") @wasm
{
const int WIDTH = 1280;
const int HEIGHT = 720;
Expand Down Expand Up @@ -138,4 +138,4 @@ fn int main()
}

return 0;
}
}

0 comments on commit fbaa485

Please sign in to comment.