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

Function getElementCount

test/embind/embind_test.cpp:1633–1635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1631
1632template<typename T, size_t sizeOfArray>
1633constexpr size_t getElementCount(T (&)[sizeOfArray]) {
1634 return sizeOfArray;
1635}
1636
1637static void callWithMemoryView(val v) {
1638 // static so the JS test can read the memory after callTakeMemoryView runs

Callers 1

callWithMemoryViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected