diff options
author | Stephen Hines <srhines@google.com> | 2012-05-14 18:04:10 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2012-05-14 18:13:16 -0700 |
commit | 6537404d5ad7ec19f0f26533d695d39909782781 (patch) | |
tree | 55b17e236623cc4fc1af8a63d07f7194cb72d7c1 /scriptc | |
parent | f098424e0391d477ab48440e03c163a7f04fbbdb (diff) | |
download | rs-6537404d5ad7ec19f0f26533d695d39909782781.tar.gz |
Support float vector versions of rsDebug() directly.
We can do this now that we are building for the device with Clang.
Change-Id: I3133b1f6220ccd0fa9f8d2bc9502074beaa45d1a
Diffstat (limited to 'scriptc')
-rw-r--r-- | scriptc/rs_debug.rsh | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/scriptc/rs_debug.rsh b/scriptc/rs_debug.rsh index 074c28fe..fd49fe67 100644 --- a/scriptc/rs_debug.rsh +++ b/scriptc/rs_debug.rsh @@ -27,7 +27,6 @@ #define __RS_DEBUG_RSH__ - /** * Debug function. Prints a string and value to the log. */ @@ -52,6 +51,21 @@ extern void __attribute__((overloadable)) * Debug function. Prints a string and value to the log. */ extern void __attribute__((overloadable)) + rsDebug(const char *, float2); +/** + * Debug function. Prints a string and value to the log. + */ +extern void __attribute__((overloadable)) + rsDebug(const char *, float3); +/** + * Debug function. Prints a string and value to the log. + */ +extern void __attribute__((overloadable)) + rsDebug(const char *, float4); +/** + * Debug function. Prints a string and value to the log. + */ +extern void __attribute__((overloadable)) rsDebug(const char *, double); /** * Debug function. Prints a string and value to the log. @@ -106,18 +120,4 @@ extern void __attribute__((overloadable)) #define RS_DEBUG(a) rsDebug(#a, a) #define RS_DEBUG_MARKER rsDebug(__FILE__, __LINE__) - -/** - * Debug function. Prints a string and value to the log. - */ -_RS_RUNTIME void __attribute__((overloadable)) rsDebug(const char *s, float2 v); -/** - * Debug function. Prints a string and value to the log. - */ -_RS_RUNTIME void __attribute__((overloadable)) rsDebug(const char *s, float3 v); -/** - * Debug function. Prints a string and value to the log. - */ -_RS_RUNTIME void __attribute__((overloadable)) rsDebug(const char *s, float4 v); - #endif |