1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
6 #include "base/i2-base.hpp"
7 #include "base/dictionary.hpp"
8 #include "base/array.hpp"
9 #include <boost/thread/tss.hpp>
17 Dictionary::Ptr Locals;
22 ScriptFrame(bool allocLocals);
23 ScriptFrame(bool allocLocals, Value self);
26 void IncreaseStackDepth();
27 void DecreaseStackDepth();
29 static ScriptFrame *GetCurrentFrame();
32 static boost::thread_specific_ptr<std::stack<ScriptFrame *> > m_ScriptFrames;
34 static void PushFrame(ScriptFrame *frame);
35 static ScriptFrame *PopFrame();
37 void InitializeFrame();
42 #endif /* SCRIPTFRAME_H */