summaryrefslogtreecommitdiff
path: root/rsDefines.h
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-04-15 01:06:39 -0700
committerStephen Hines <srhines@google.com>2013-04-17 19:42:56 -0700
commitcca3d6ca444bef3b6d75431ec19bd07bfe40a733 (patch)
tree034159cbccbf4fa2ef6ba4b69faad0e2badc4e2a /rsDefines.h
parent886e51b2ef45ce123379c8a11579851c5580d957 (diff)
downloadrs-cca3d6ca444bef3b6d75431ec19bd07bfe40a733.tar.gz
Add support for DEBUG context type.
Bug: 7343201 This change adds switching for the debug runtime (libclcore_debug.bc) when running under a DEBUG RS context. It also fixes a small naming issue for rsSetElementAt_int(). Change-Id: I8b574c9ce915a440375530325ba7de2b46707cfd
Diffstat (limited to 'rsDefines.h')
-rw-r--r--rsDefines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rsDefines.h b/rsDefines.h
index 242d6491..6e080de1 100644
--- a/rsDefines.h
+++ b/rsDefines.h
@@ -300,6 +300,9 @@ enum RsError {
RS_ERROR_OUT_OF_MEMORY = 4,
RS_ERROR_DRIVER = 5,
+ // Errors that only occur in the debug context.
+ RS_ERROR_FATAL_DEBUG = 0x0800,
+
RS_ERROR_FATAL_UNKNOWN = 0x1000,
RS_ERROR_FATAL_DRIVER = 0x1001,
RS_ERROR_FATAL_PROGRAM_LINK = 0x1002