Pioneer
Loading...
Searching...
No Matches
Functions
Sandbox.cpp File Reference
#include "CoreFwdDecl.h"
#include "FileSystem.h"
#include "LuaUtils.h"
#include "core/Log.h"
#include "libs.h"
Include dependency graph for Sandbox.cpp:

Functions

void pi_lua_open_standard_base (lua_State *L)
 
int pi_lua_panic (lua_State *L)
 
void pi_lua_protected_call (lua_State *L, int nargs, int nresults)
 
int pi_lua_loadfile (lua_State *l, const FileSystem::FileData &code)
 
void pi_lua_dofile (lua_State *l, const FileSystem::FileData &code, int nret)
 
void pi_lua_dofile (lua_State *l, const std::string &path)
 
void pi_lua_dofile_recursive (lua_State *l, const std::string &basepath)
 
void pi_lua_warn (lua_State *l, const char *format,...)
 
bool pi_lua_split_table_path (lua_State *l, const std::string &path)
 
int secure_trampoline (lua_State *l)
 

Function Documentation

◆ pi_lua_dofile() [1/2]

void pi_lua_dofile ( lua_State *  l,
const FileSystem::FileData code,
int  nret 
)
Here is the call graph for this function:

◆ pi_lua_dofile() [2/2]

void pi_lua_dofile ( lua_State *  l,
const std::string &  path 
)
Here is the call graph for this function:

◆ pi_lua_dofile_recursive()

void pi_lua_dofile_recursive ( lua_State *  l,
const std::string &  basepath 
)
Here is the call graph for this function:

◆ pi_lua_loadfile()

int pi_lua_loadfile ( lua_State *  l,
const FileSystem::FileData code 
)
Here is the call graph for this function:

◆ pi_lua_open_standard_base()

void pi_lua_open_standard_base ( lua_State *  L)
Here is the call graph for this function:

◆ pi_lua_panic()

int pi_lua_panic ( lua_State *  L)
Here is the call graph for this function:

◆ pi_lua_protected_call()

void pi_lua_protected_call ( lua_State *  L,
int  nargs,
int  nresults 
)
Here is the call graph for this function:

◆ pi_lua_split_table_path()

bool pi_lua_split_table_path ( lua_State *  l,
const std::string &  path 
)

◆ pi_lua_warn()

void pi_lua_warn ( lua_State *  l,
const char *  format,
  ... 
)
Here is the call graph for this function:

◆ secure_trampoline()

int secure_trampoline ( lua_State *  l)