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

Method set_chain

library/VTableInterpose.cpp:294–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 */
293
294void VMethodInterposeLinkBase::set_chain(void *chain)
295{
296 saved_chain = chain;
297 addr_to_method_pointer_(chain_mptr, chain);
298}
299
300VMethodInterposeLinkBase::VMethodInterposeLinkBase(const virtual_identity *host, int vmethod_idx, void *interpose_method, void *chain_mptr, int priority, const char *name)
301 : host(host), vmethod_idx(vmethod_idx), interpose_method(interpose_method),

Callers 2

applyMethod · 0.80
removeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected