nngn
Loading...
Searching...
No Matches
lua.cpp File Reference
#include "lua.h"
#include <cmath>
#include <lua.hpp>
#include "utils/log.h"
#include "state.h"
#include "traceback.h"
#include "value.h"
Include dependency graph for lua.cpp:

Namespaces

namespace  nngn
 
namespace  nngn::lua
 

Functions

int nngn::lua::msgh (lua_State *L)
 Default message handler for lua_pcall.
 
void nngn::lua::print_stack (lua_State *L)
 Logs the current data stack.
 
void nngn::lua::print_traceback (lua_State *L)
 Logs the current call stack.