MCPcopy Create free account
hub / github.com/Snapchat/Valdi / push

Method push

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35int Marshaller::push(Value value) {
36 auto size = _stack.size();
37 _stack.emplace_back(std::move(value));
38 return static_cast<int>(size);
39}
40
41int Marshaller::pushString(const StringBox& str) {
42 return push(Value(str));

Callers 15

operator()Method · 0.45
operator()Method · 0.45
runTestFunction · 0.45
onCreateMethod · 0.45
array_pushFunction · 0.45
mainFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected