summaryrefslogtreecommitdiffstats
path: root/ingen/Status.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-11-23 14:24:07 -0500
committerDavid Robillard <d@drobilla.net>2016-10-01 07:03:17 -0400
commit11b55676a510171a56975743fd752ccbcc170622 (patch)
treeb36fce044d67e2c8f358170f207f2ec0926cb8a2 /ingen/Status.hpp
parent92d75b64d9f4cf9ca9caf3e1a0d3ad9819eb5481 (diff)
downloadingen-11b55676a510171a56975743fd752ccbcc170622.tar.gz
ingen-11b55676a510171a56975743fd752ccbcc170622.tar.bz2
ingen-11b55676a510171a56975743fd752ccbcc170622.zip
Add parallelism-aware graph traversal
Diffstat (limited to 'ingen/Status.hpp')
-rw-r--r--ingen/Status.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ingen/Status.hpp b/ingen/Status.hpp
index 88e9d707..c1002a17 100644
--- a/ingen/Status.hpp
+++ b/ingen/Status.hpp
@@ -46,7 +46,8 @@ enum class Status {
PROTOTYPE_NOT_FOUND,
PORT_NOT_FOUND,
TYPE_MISMATCH,
- UNKNOWN_TYPE
+ UNKNOWN_TYPE,
+ COMPILATION_FAILED
};
static inline const char*
@@ -80,6 +81,7 @@ ingen_status_string(Status st)
case Status::PORT_NOT_FOUND: return "Port not found";
case Status::TYPE_MISMATCH: return "Type mismatch";
case Status::UNKNOWN_TYPE: return "Unknown type";
+ case Status::COMPILATION_FAILED: return "Graph compilation failed";
}
return "Unknown error";