MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / add

Function add

test/codesize/minimal.c:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <emscripten.h>
2
3EMSCRIPTEN_KEEPALIVE int add(int x, int y) {
4 return x + y;
5}
6
7EMSCRIPTEN_KEEPALIVE int global_val = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected