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

Function ArrayClear

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

Source from the content-addressed store, hash-verified

59}
60
61static void ArrayClear()
62{
63 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
64 Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
65 REQUIRE_NOT_NULL(self);
66 self->Clear();
67}
68
69static Array::Ptr ArraySort(const std::vector<Value>& args)
70{

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected