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

Method invoke

system/include/emscripten/bind.h:372–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370template<typename ReturnPolicy, typename FunctorType, typename ReturnType, typename... Args>
371struct FunctorInvoker {
372 static typename internal::BindingType<ReturnType>::WireType invoke(
373 FunctorType& function,
374 typename internal::BindingType<Args>::WireType... args
375 ) {
376 return internal::BindingType<ReturnType>::toWireType(
377 function(
378 internal::BindingType<Args>::fromWireType(args)...)
379 , ReturnPolicy{}
380 );
381 }
382};
383
384template<typename ReturnPolicy, typename FunctorType, typename... Args>

Callers

nothing calls this directly

Calls 3

fromWireTypeFunction · 0.85
toWireTypeFunction · 0.70
functionFunction · 0.70

Tested by

no test coverage detected