Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ add
Function
add
test/codesize/minimal_main.c:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#include <emscripten.h>
2
3
EMSCRIPTEN_KEEPALIVE int add(int x, int y) {
4
return x + y;
5
}
6
7
EMSCRIPTEN_KEEPALIVE int global_val = 0;
8
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected