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

Function pointer

test/core/test_ccall.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 return (x + y) * z;
26}
27int *pointer(int *in) {
28 printf("%d\n", *in);
29 static int ret = 21;
30 return &ret;
31}
32
33// This test checks that ccall restores the stack correctly to whatever it was
34// when ccall was entered. We save the stack pointer on the heap in stackChecker

Callers 1

unique_ptr.hFile · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected