MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / resolvePointerTarget

Function resolvePointerTarget

src/compose.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static QString resolvePointerTarget(const NodeTree& tree, uint64_t refId) {
73 if (refId == 0) return {};
74 int refIdx = tree.indexOfId(refId);
75 if (refIdx < 0) return {};
76 const Node& ref = tree.nodes[refIdx];
77 return ref.structTypeName.isEmpty() ? ref.name : ref.structTypeName;
78}
79
80static inline uint64_t ptrToProviderAddr(const NodeTree& tree, uint64_t ptr) {
81 if (tree.baseAddress == 0) return ptr;

Callers 4

composeLeafFunction · 0.85
composeParentFunction · 0.85
composeNodeFunction · 0.85
composeFunction · 0.85

Calls 1

indexOfIdMethod · 0.80

Tested by

no test coverage detected