xoreos  0.0.5
Namespaces
stackguard.cpp File Reference

Lua stack guard. More...

#include "src/aurora/lua/stackguard.h"
#include "src/aurora/lua/stack.h"
Include dependency graph for stackguard.cpp:

Go to the source code of this file.

Namespaces

 Aurora
 
 Aurora::Lua
 

Detailed Description

Lua stack guard.

It's a helper class for storing and restoring the top position of a Lua stack. A guard stores the top at the construction and restores it at the end of a scope.

Definition in file stackguard.cpp.