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

Function ArrayGet

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

Source from the content-addressed store, hash-verified

27}
28
29static Value ArrayGet(int index)
30{
31 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
32 Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
33 REQUIRE_NOT_NULL(self);
34 return self->Get(index);
35}
36
37static void ArrayAdd(const Value& value)
38{

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected