Gnash  0.8.10
Public Member Functions
gnash::FrameGuard Class Reference

#include <VM.h>

List of all members.

Public Member Functions

 FrameGuard (VM &vm, UserFunction &func)
CallFramecallFrame ()
 Get the CallFrame we've just pushed.
 ~FrameGuard ()

Detailed Description

A class to wrap frame access. Stack allocating a frame guard will ensure that all CallFrame pushes have a corresponding CallFrame pop, even in the presence of extraordinary returns.


Constructor & Destructor Documentation

gnash::FrameGuard::FrameGuard ( VM vm,
UserFunction func 
) [inline]
gnash::FrameGuard::~FrameGuard ( ) [inline]

Member Function Documentation

CallFrame& gnash::FrameGuard::callFrame ( ) [inline]

Get the CallFrame we've just pushed.

Referenced by gnash::Function::call(), and gnash::Function2::call().


The documentation for this class was generated from the following file: