#include <string>
#include <vector>
#include "irrlichttypes.h"
#include "util/basic_macros.h"
#include <lua.h>
Go to the source code of this file.
|
struct | PackedInstr |
| Represents a single instruction that pushes a new value or operates with existing ones. More...
|
|
struct | PackedValue |
| A packed value can be a primitive like a string or number but also a table including all of its contents. More...
|
|
◆ INSTR_POP
◆ INSTR_PUSHREF
#define INSTR_PUSHREF (-12) |
◆ INSTR_SETMETATABLE
#define INSTR_SETMETATABLE (-13) |
◆ INSTR_SETTABLE
#define INSTR_SETTABLE (-10) |
◆ PackInFunc
typedef void *(* PackInFunc) (lua_State *L, int idx) |
◆ PackOutFunc
typedef void(* PackOutFunc) (lua_State *L, void *ptr) |
◆ script_dump_packed()
◆ script_pack()
◆ script_register_packer()
◆ script_unpack()
void script_unpack |
( |
lua_State * |
L, |
|
|
PackedValue * |
val |
|
) |
| |
References PackedValue::contains_userdata, find_packer(), get_known_lua_metatables(), PackedValue::i, INSTR_POP, INSTR_PUSHREF, INSTR_SETMETATABLE, INSTR_SETTABLE, sanity_check, and uses_sdata().
Referenced by EmergeScripting::EmergeScripting(), ServerScripting::InitializeAsync(), ModApiServer::l_serialize_roundtrip(), AsyncWorkerThread::run(), and AsyncEngine::stepJobResults().