Wrapping new API with #defines to prevent old apps from using them.
Change-Id: Ib3a2d19544ad72987ebec09d465bec8eeb6423c8
diff --git a/scriptc/rs_allocation.rsh b/scriptc/rs_allocation.rsh
index 1e755cd..154a099 100644
--- a/scriptc/rs_allocation.rsh
+++ b/scriptc/rs_allocation.rsh
@@ -71,6 +71,8 @@
extern uint32_t __attribute__((overloadable))
rsAllocationGetDimFaces(rs_allocation);
+#if (defined(RS_VERSION) && (RS_VERSION >= 14))
+
/**
* Copy part of an allocation from another allocation.
*
@@ -123,6 +125,7 @@
uint32_t srcMip,
rs_allocation_cubemap_face srcFace);
+#endif //defined(RS_VERSION) && (RS_VERSION >= 14)
/**
* Extract a single element from an allocation.