MCPcopy Create free account
hub / github.com/Tracktion/choc / pushArg

Method pushArg

choc/javascript/choc_javascript_V8.h:220–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 }
219
220 void pushArg (std::string_view s) override { currentCallContext->functionArgs.emplace_back (stringToV8 (s)); }
221 void pushArg (int32_t v) override { currentCallContext->functionArgs.emplace_back (v8::Int32::New (isolate, v)); }
222 void pushArg (uint32_t v) override { currentCallContext->functionArgs.emplace_back (v8::Uint32::New (isolate, static_cast<int32_t> (v))); }
223 void pushArg (int64_t v) override { currentCallContext->functionArgs.emplace_back (v8::Number::New (isolate, v)); }

Callers

nothing calls this directly

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected