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

Method pushObjectOrArray

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

Source from the content-addressed store, hash-verified

213 }
214
215 void pushObjectOrArray (const choc::value::ValueView& v) override
216 {
217 currentCallContext->functionArgs.emplace_back (chocToV8 (currentCallContext->localContext, v));
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)); }

Callers

nothing calls this directly

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected