Support float vector versions of rsDebug() directly.
We can do this now that we are building for the device with Clang.
Change-Id: I3133b1f6220ccd0fa9f8d2bc9502074beaa45d1a
diff --git a/scriptc/rs_debug.rsh b/scriptc/rs_debug.rsh
index 074c28f..fd49fe6 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 @@
* 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 @@
#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