Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
s_base.cpp File Reference
#include "cpp_api/s_base.h"
#include "cpp_api/s_internal.h"
#include "cpp_api/s_security.h"
#include "lua_api/l_object.h"
#include "common/c_converter.h"
#include "server/player_sao.h"
#include "filesys.h"
#include "content/mods.h"
#include "porting.h"
#include "util/string.h"
#include "server.h"
#include "lualib.h"
#include "bit.h"
#include <cstdio>
#include <cstdarg>
#include "script/common/c_content.h"
#include <sstream>
+ Include dependency graph for s_base.cpp:

Classes

class  ModNameStorer
 

Macros

#define CHECK(ridx, name)
 

Macro Definition Documentation

◆ CHECK

#define CHECK ( ridx,
name )
Value:
do { \
lua_rawgeti(L, LUA_REGISTRYINDEX, ridx); \
FATAL_ERROR_IF(lua_type(L, -1) != LUA_TFUNCTION, "missing " name); \
lua_pop(L, 1); \
} while (0)

Referenced by ScriptApiBase::checkSetByBuiltin(), TEST_CASE(), TEST_CASE(), TEST_CASE(), and TEST_CASE().