mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
parent
cfd775c948
commit
0a4c461caa
@ -66,11 +66,11 @@ static void ArrayClear(void)
|
|||||||
self->Clear();
|
self->Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ArrayClone(void)
|
static Array::Ptr ArrayClone(void)
|
||||||
{
|
{
|
||||||
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
||||||
Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
|
Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
|
||||||
self->ShallowClone();
|
return self->ShallowClone();
|
||||||
}
|
}
|
||||||
|
|
||||||
Object::Ptr Array::GetPrototype(void)
|
Object::Ptr Array::GetPrototype(void)
|
||||||
|
@ -52,11 +52,11 @@ static bool DictionaryContains(const String& key)
|
|||||||
return self->Contains(key);
|
return self->Contains(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void DictionaryClone(void)
|
static Dictionary::Ptr DictionaryClone(void)
|
||||||
{
|
{
|
||||||
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
|
||||||
Dictionary::Ptr self = static_cast<Dictionary::Ptr>(vframe->Self);
|
Dictionary::Ptr self = static_cast<Dictionary::Ptr>(vframe->Self);
|
||||||
self->ShallowClone();
|
return self->ShallowClone();
|
||||||
}
|
}
|
||||||
|
|
||||||
Object::Ptr Dictionary::GetPrototype(void)
|
Object::Ptr Dictionary::GetPrototype(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user