[arrayfire] 231/408: Rename af_print_array_p to af_print_array_gen

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:12:04 UTC 2015


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

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

commit e59c9535146d18666dfb13e75d51ab225a4358ab
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Tue Aug 11 18:45:37 2015 -0400

    Rename af_print_array_p to af_print_array_gen
---
 include/af/util.h    | 2 +-
 src/api/c/print.cpp  | 2 +-
 src/api/cpp/util.cpp | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/af/util.h b/include/af/util.h
index 441a93e..bd655f7 100644
--- a/include/af/util.h
+++ b/include/af/util.h
@@ -148,7 +148,7 @@ extern "C" {
 
         \ingroup print_func_print
     */
-    AFAPI af_err af_print_array_p(const char *exp, const af_array arr, const int precision);
+    AFAPI af_err af_print_array_gen(const char *exp, const af_array arr, const int precision);
 
     /**
         \param[out] index is the index location of the array in the file
diff --git a/src/api/c/print.cpp b/src/api/c/print.cpp
index ec2fc0a..d820613 100644
--- a/src/api/c/print.cpp
+++ b/src/api/c/print.cpp
@@ -109,7 +109,7 @@ af_err af_print_array(af_array arr)
     return AF_SUCCESS;
 }
 
-af_err af_print_array_p(const char *exp, const af_array arr, const int precision)
+af_err af_print_array_gen(const char *exp, const af_array arr, const int precision)
 {
     try {
         ARG_ASSERT(0, exp != NULL);
diff --git a/src/api/cpp/util.cpp b/src/api/cpp/util.cpp
index bccaa53..5cc48b7 100644
--- a/src/api/cpp/util.cpp
+++ b/src/api/cpp/util.cpp
@@ -18,14 +18,14 @@ namespace af
 {
     void print(const char *exp, const array &arr)
     {
-        AF_THROW(af_print_array_p(exp, arr.get(), 4));
+        AF_THROW(af_print_array_gen(exp, arr.get(), 4));
         return;
     }
 
     void print(const char *exp, const array &arr, const int precision)
     {
         printf("%s ", exp);
-        AF_THROW(af_print_array_p(exp, arr.get(), precision));
+        AF_THROW(af_print_array_gen(exp, arr.get(), precision));
         return;
     }
 

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