summaryrefslogtreecommitdiffstats
path: root/src/build.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/build.h b/src/build.h
index 3a7183f..51589ef 100644
--- a/src/build.h
+++ b/src/build.h
@@ -56,8 +56,13 @@ struct Plan {
/// Dumps the current state of the plan.
void Dump();
+ enum EdgeResult {
+ kEdgeFailed,
+ kEdgeSucceeded
+ };
+
/// Mark an edge as done building (whether it succeeded or failed).
- void EdgeFinished(Edge* edge, bool success);
+ void EdgeFinished(Edge* edge, EdgeResult result);
/// Clean the given node during the build.
/// Return false on error.