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

Function cpp_adder

test/core/test_exceptions_resume.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19int _result;
20
21int cpp_adder(int a, int b)
22{
23 if (a < b)
24 throw MathError ("a cannot be less than b.");
25
26 return a + b;
27}
28
29extern "C" {
30

Callers 1

c_adderFunction · 0.85

Calls 1

MathErrorClass · 0.85

Tested by

no test coverage detected