[arrayfire] 231/284: Putting transform coordinates within version guards

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.

commit ffc6e7f251cb37889b5fecfc06a385db5d24b4b0
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Mon Jan 18 22:41:21 2016 -0500

    Putting transform coordinates within version guards
---
 include/af/image.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/af/image.h b/include/af/image.h
index d25f64f..0e0c0ba 100644
--- a/include/af/image.h
+++ b/include/af/image.h
@@ -223,6 +223,7 @@ AFAPI array rotate(const array& in, const float theta, const bool crop=true, con
 */
 AFAPI array transform(const array& in, const array& transform, const dim_t odim0 = 0, const dim_t odim1 = 0, const interpType method=AF_INTERP_NEAREST, const bool inverse=true);
 
+#if AF_API_VERSION >= 33
 /**
     C++ Interface for transforming coordinates
 
@@ -234,6 +235,7 @@ AFAPI array transform(const array& in, const array& transform, const dim_t odim0
     \ingroup transform_func_coordinates
 */
 AFAPI array transformCoordinates(const array& tf, const float d0, const float d1);
+#endif
 
 /**
     C++ Interface for translating an image
@@ -865,6 +867,7 @@ extern "C" {
                               const dim_t odim0, const dim_t odim1,
                               const af_interp_type method, const bool inverse);
 
+#if AF_API_VERSION >= 33
     /**
        C Interface for transforming an image
        C++ Interface for transforming coordinates
@@ -877,6 +880,7 @@ extern "C" {
        \ingroup transform_func_coordinates
     */
     AFAPI af_err af_transform_coordinates(af_array *out, const af_array tf, const float d0, const float d1);
+#endif
 
     /**
        C Interface for rotating an image

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list