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

Function ArrayAdd

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

Source from the content-addressed store, hash-verified

35}
36
37static void ArrayAdd(const Value& value)
38{
39 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
40 Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
41 REQUIRE_NOT_NULL(self);
42 self->Add(value);
43}
44
45static void ArrayRemove(int index)
46{

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected