direct-io.hg

changeset 12343:62376b480034

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@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Nov 09 11:40:28 2006 +0000 (2006-11-09)
parents eccbf694ba0b
children 913324616183
files tools/libxen/include/xen_internal.h tools/libxen/src/xen_common.c
line diff
     1.1 --- a/tools/libxen/include/xen_internal.h	Thu Nov 09 11:37:35 2006 +0000
     1.2 +++ b/tools/libxen/include/xen_internal.h	Thu Nov 09 11:40:28 2006 +0000
     1.3 @@ -96,10 +96,11 @@ typedef struct abstract_value
     1.4          const char *string_val;
     1.5          int64_t int_val;
     1.6          int enum_val;
     1.7 -        double double_val;
     1.8 +        double float_val;
     1.9          bool bool_val;
    1.10          arbitrary_set *set_val;
    1.11          void *struct_val;
    1.12 +        time_t datetime_val;
    1.13      } u;
    1.14  } abstract_value;
    1.15  
     2.1 --- a/tools/libxen/src/xen_common.c	Thu Nov 09 11:37:35 2006 +0000
     2.2 +++ b/tools/libxen/src/xen_common.c	Thu Nov 09 11:40:28 2006 +0000
     2.3 @@ -1050,7 +1050,7 @@ make_body(const char *method_name, abstr
     2.4              break;
     2.5  
     2.6          case FLOAT:
     2.7 -            snprintf(buf, sizeof(buf), "%lf", v->u.double_val);
     2.8 +            snprintf(buf, sizeof(buf), "%lf", v->u.float_val);
     2.9              add_param(params_node, "double", buf);
    2.10              break;
    2.11