[arrayfire] 13/84: Adding default parameter for surface

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Jan 4 23:22:15 UTC 2016


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

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

commit dc1e53f709ed9e1d645261f2c51b6a187789d213
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Wed Dec 9 14:16:16 2015 -0500

    Adding default parameter for surface
---
 include/af/graphics.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/af/graphics.h b/include/af/graphics.h
index 30cb287..17cb622 100644
--- a/include/af/graphics.h
+++ b/include/af/graphics.h
@@ -205,7 +205,7 @@ class AFAPI Window {
 
            \ingroup gfx_func_draw
          */
-        void surface(const array& S, const char* const title);
+        void surface(const array& S, const char* const title = NULL);
 #endif
 
 #if AF_API_VERSION >= 32
@@ -221,7 +221,7 @@ class AFAPI Window {
 
            \ingroup gfx_func_draw
          */
-        void surface(const array& xVals, const array& yVals, const array& S, const char* const title);
+        void surface(const array& xVals, const array& yVals, const array& S, const char* const title = NULL);
 #endif
 
         /**

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