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

Function item_pointer

library/include/DataIdentity.h:359–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357 return (int)((container*)ptr)->size();
358 };
359 virtual void *item_pointer(const type_identity *, void *ptr, int idx) const {
360 return &(*(container*)ptr)[idx];
361 }
362 };
363
364// Due to export issues, this stuff can only work in the main dll

Callers 3

lua_item_referenceMethod · 0.85
lua_item_readMethod · 0.85
lua_item_writeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected