MCPcopy Create free account
hub / github.com/DFHack/dfhack / lua_read

Method lua_read

library/LuaTypes.cpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 **************************************/
65
66void function_identity_base::lua_read(lua_State *state, int fname_idx, void *ptr) const
67{
68 field_error(state, fname_idx, "executable code", "read");
69}
70
71void function_identity_base::lua_write(lua_State *state, int fname_idx, void *ptr, int val_index) const
72{

Callers 4

lua_item_readMethod · 0.80
read_fieldFunction · 0.80
meta_primitive_indexFunction · 0.80
call_and_push_implFunction · 0.80

Calls 10

lua_pushintegerFunction · 0.85
readFunction · 0.85
lua_pushnumberFunction · 0.85
lua_pushbooleanFunction · 0.85
lua_pushstringFunction · 0.85
lua_pushnilFunction · 0.85
lua_pushlstringFunction · 0.85
as_stringFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected