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

Function callInterface1

test/embind/embind_benchmark.cpp:187–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void callInterface1(unsigned N, Interface& o) {
188 static std::wstring foo(L"foo");
189 static std::wstring bar(L"bar");
190 static std::wstring baz(L"baz");
191 static std::wstring qux(L"qux");
192 for (unsigned i = 0; i < N; i += 7) {
193 o.call1(
194 o.call1(
195 o.call1(foo, bar),
196 o.call1(baz, qux)),
197 o.call1(
198 o.call1(qux, foo),
199 o.call1(bar, baz)));
200 }
201}
202
203void callInterface2(unsigned N, Interface& o) {
204 int i = 0;

Callers

nothing calls this directly

Calls 1

call1Method · 0.80

Tested by

no test coverage detected