[arrayfire] 107/248: Added missing 'AFAPI' to C++ API

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:54:10 UTC 2015


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

ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.

commit 653f789bcc986d490bd3d2712a1bac9eb4ac5159
Author: Peter Andreas Entschev <peter at arrayfire.com>
Date:   Wed Oct 7 16:27:53 2015 -0400

    Added missing 'AFAPI' to C++ API
---
 src/api/cpp/device.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/cpp/device.cpp b/src/api/cpp/device.cpp
index f24a82a..dffeb19 100644
--- a/src/api/cpp/device.cpp
+++ b/src/api/cpp/device.cpp
@@ -150,12 +150,12 @@ namespace af
     }
 
 #define INSTANTIATE(T)                                                  \
-    template<>                                                          \
+    template<> AFAPI                                                    \
     T* alloc(const size_t elements)                                     \
     {                                                                   \
         return (T*)alloc(elements, (af::dtype)dtype_traits<T>::af_type); \
     }                                                                   \
-    template<>                                                          \
+    template<> AFAPI                                                    \
     T* pinned(const size_t elements)                                    \
     {                                                                   \
         return (T*)pinned(elements, (af::dtype)dtype_traits<T>::af_type); \

-- 
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