guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.6-68-g93825c


From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.6-68-g93825c9
Date: Mon, 05 Nov 2012 18:37:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=93825c9f0608ec85f17759b7d841927e6cf9f113

The branch, stable-2.0 has been updated
       via  93825c9f0608ec85f17759b7d841927e6cf9f113 (commit)
       via  b29b2c87b4cd220868c787fd39a9b42fbf9602ef (commit)
      from  acc1d8e37a6e0e497dae88db276741928afbc901 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 93825c9f0608ec85f17759b7d841927e6cf9f113
Author: Ludovic Courtès <address@hidden>
Date:   Mon Nov 5 19:04:13 2012 +0100

    Have `SCM_NUM2FLOAT' and `SCM_NUM2DOUBLE' use `scm_to_double'.
    
    * libguile/validate.h (SCM_NUM2FLOAT, SCM_NUM2DOUBLE): Use
      `scm_to_double' instead of the deprecated functions.  Reported by
      Aleix Conchillo Flaqué <address@hidden>.

commit b29b2c87b4cd220868c787fd39a9b42fbf9602ef
Author: Ludovic Courtès <address@hidden>
Date:   Mon Nov 5 18:59:14 2012 +0100

    Fix copyright years in `futures.scm'.
    
    * module/ice-9/futures.scm: Update copyright years.

-----------------------------------------------------------------------

Summary of changes:
 libguile/validate.h      |    9 ++++-----
 module/ice-9/futures.scm |    2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/libguile/validate.h b/libguile/validate.h
index b0e502a..0bdc057 100644
--- a/libguile/validate.h
+++ b/libguile/validate.h
@@ -3,7 +3,8 @@
 #ifndef SCM_VALIDATE_H
 #define SCM_VALIDATE_H
 
-/* Copyright (C) 1999,2000,2001, 2002, 2004, 2006, 2007, 2009 Free Software 
Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2002, 2004, 2006, 2007, 2009,
+ *   2012 Free Software Foundation, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -91,11 +92,9 @@
 #define SCM_NUM2ULONG_LONG_DEF(pos, arg, def) \
   (SCM_UNBNDP (arg) ? def : scm_to_ulong_long (arg))
 
-#define SCM_NUM2FLOAT(pos, arg) \
-  (scm_num2float (arg, pos, FUNC_NAME))
+#define SCM_NUM2FLOAT(pos, arg) ((float) scm_to_double (arg))
 
-#define SCM_NUM2DOUBLE(pos, arg) \
-  (scm_num2double (arg, pos, FUNC_NAME))
+#define SCM_NUM2DOUBLE(pos, arg) (scm_to_double (arg))
 
 #define SCM_OUT_OF_RANGE(pos, arg) \
   do { scm_out_of_range_pos (FUNC_NAME, arg, scm_from_int (pos)); } while (0)
diff --git a/module/ice-9/futures.scm b/module/ice-9/futures.scm
index 2ab3edd..0f64b5c 100644
--- a/module/ice-9/futures.scm
+++ b/module/ice-9/futures.scm
@@ -1,6 +1,6 @@
 ;;; -*- mode: scheme; coding: utf-8; -*-
 ;;;
-;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+;;; Copyright (C) 2010, 2011, 2012 Free Software Foundation, Inc.
 ;;;
 ;;; This library is free software; you can redistribute it and/or
 ;;; modify it under the terms of the GNU Lesser General Public


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]