summaryrefslogtreecommitdiffstats
path: root/slang.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-03-18 16:17:21 -0400
committerGitHub <noreply@github.com>2019-03-18 16:17:21 -0400
commit70048715cec251a23871747e342e5cf938c97255 (patch)
treefbe22903368b1c63fe9b7dd2d541e480e5aba16c /slang.h
parent1bc99cf725e1fcaf542a61fc786be18e18173003 (diff)
* Added ToolReturnCode to be more rigerous about how a return code is passed back from a tool (#911)
* Added support for a tool being able to pass back an 'ignored' result. * Used enum codes to indicate meanings * Made spawnAndWait return a ToolReturnCode
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index 5d9896073..7dc9501f0 100644
--- a/slang.h
+++ b/slang.h
@@ -668,6 +668,8 @@ extern "C"
#define SLANG_E_NOT_FOUND SLANG_MAKE_CORE_ERROR(5)
//! An unhandled internal failure (typically from unhandled exception)
#define SLANG_E_INTERNAL_FAIL SLANG_MAKE_CORE_ERROR(6)
+ //! Could not complete because some underlying feature (hardware or software) was not available
+#define SLANG_E_NOT_AVAILABLE SLANG_MAKE_CORE_ERROR(7)
/** A "Universally Unique Identifier" (UUID)