WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Rename abstract_value.double_val -> float

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Rename abstract_value.double_val -> float_val. All the other names match the
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 04:50:14 +0000
Delivery-date: Thu, 09 Nov 2006 20:50:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 62376b480034a3a53f7c40053bfe34f1723f7f9a
# Parent  eccbf694ba0bdd6579e626f6aa72dd8e77083a84
Rename abstract_value.double_val -> float_val.  All the other names match the
abstract type names in the doc, so this one should too.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/libxen/include/xen_internal.h |    3 ++-
 tools/libxen/src/xen_common.c       |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff -r eccbf694ba0b -r 62376b480034 tools/libxen/include/xen_internal.h
--- a/tools/libxen/include/xen_internal.h       Thu Nov 09 11:37:35 2006 +0000
+++ b/tools/libxen/include/xen_internal.h       Thu Nov 09 11:40:28 2006 +0000
@@ -96,10 +96,11 @@ typedef struct abstract_value
         const char *string_val;
         int64_t int_val;
         int enum_val;
-        double double_val;
+        double float_val;
         bool bool_val;
         arbitrary_set *set_val;
         void *struct_val;
+        time_t datetime_val;
     } u;
 } abstract_value;
 
diff -r eccbf694ba0b -r 62376b480034 tools/libxen/src/xen_common.c
--- a/tools/libxen/src/xen_common.c     Thu Nov 09 11:37:35 2006 +0000
+++ b/tools/libxen/src/xen_common.c     Thu Nov 09 11:40:28 2006 +0000
@@ -1050,7 +1050,7 @@ make_body(const char *method_name, abstr
             break;
 
         case FLOAT:
-            snprintf(buf, sizeof(buf), "%lf", v->u.double_val);
+            snprintf(buf, sizeof(buf), "%lf", v->u.float_val);
             add_param(params_node, "double", buf);
             break;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Rename abstract_value.double_val -> float_val. All the other names match the, Xen patchbot-unstable <=