summaryrefslogtreecommitdiffstats
path: root/src/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.h')
-rw-r--r--src/graph.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graph.h b/src/graph.h
index 32a859d..0ef4f3f 100644
--- a/src/graph.h
+++ b/src/graph.h
@@ -77,6 +77,8 @@ struct Node {
const vector<Edge*>& out_edges() const { return out_edges_; }
void AddOutEdge(Edge* edge) { out_edges_.push_back(edge); }
+ void Dump(const char* prefix="") const;
+
private:
string path_;
/// Possible values of mtime_:
@@ -173,7 +175,7 @@ struct Edge {
bool LoadDepFile(State* state, DiskInterface* disk_interface, string* err);
- void Dump();
+ void Dump(const char* prefix="") const;
const Rule* rule_;
vector<Node*> inputs_;