| 119 | |
| 120 | |
| 121 | void FlowGraphNode::SetLines(const vector<DisassemblyTextLine>& lines) |
| 122 | { |
| 123 | size_t inCount = 0; |
| 124 | BNDisassemblyTextLine* inLines = AllocAPIObjectList<DisassemblyTextLine>(lines, &inCount); |
| 125 | BNSetFlowGraphNodeLines(m_object, inLines, inCount); |
| 126 | |
| 127 | FreeAPIObjectList<DisassemblyTextLine>(inLines, inCount); |
| 128 | |
| 129 | m_cachedLines = lines; |
| 130 | m_cachedLinesValid = true; |
| 131 | } |
| 132 | |
| 133 | |
| 134 | const vector<FlowGraphEdge>& FlowGraphNode::GetOutgoingEdges() |