Add SPV_FAILED_MATCH status code
authorDavid Neto <dneto@google.com>
Thu, 27 Aug 2015 17:38:39 +0000 (13:38 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:52:01 +0000 (12:52 -0400)
This is for future use by the parser.

include/libspirv/libspirv.h

index 8f0b5ab..3c48e51 100644 (file)
@@ -112,6 +112,7 @@ typedef enum spv_result_t {
   SPV_UNSUPPORTED = 1,
   SPV_END_OF_STREAM = 2,
   SPV_WARNING = 3,
+  SPV_FAILED_MATCH = 4,
   SPV_ERROR_INTERNAL = -1,
   SPV_ERROR_OUT_OF_MEMORY = -2,
   SPV_ERROR_INVALID_POINTER = -3,