MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ArrayShallowClone

Function ArrayShallowClone

lib/base/array-script.cpp:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static Array::Ptr ArrayShallowClone()
98{
99 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
100 Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
101 REQUIRE_NOT_NULL(self);
102 return self->ShallowClone();
103}
104
105static Value ArrayJoin(const Value& separator)
106{

Callers

nothing calls this directly

Calls 1

ShallowCloneMethod · 0.45

Tested by

no test coverage detected