Home ⌂Doc Index ◂Up ▴
Lutok  0.4
 All Classes Namespaces Files Functions Variables Macros
Classes | Functions
anonymous_namespace{test_utils.hpp} Namespace Reference

Classes

class  stack_balance_checker
 Ensures that the Lua stack maintains its original height upon exit. More...

Functions

static lua_State * raw (lutok::state &state)
 Gets the pointer to the internal lua_State of a state object.

Function Documentation

static lua_State* anonymous_namespace{test_utils.hpp}::raw ( lutok::state state)
inlinestatic

Gets the pointer to the internal lua_State of a state object.

This is pure syntactic sugar to simplify typing in the test cases.

Parameters:
stateThe Lua state.
Returns:
The internal lua_State of the input Lua state.


Home ⌂Doc Index ◂Up ▴