projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename: "float value" -> "real value"
[babeltrace.git]
/
include
/
babeltrace
/
values.h
diff --git
a/include/babeltrace/values.h
b/include/babeltrace/values.h
index ace4a3341dbfe681e84861599ec37009277eb431..0e03596ad8faef15de11d1c254c916e77c5dac82 100644
(file)
--- a/
include/babeltrace/values.h
+++ b/
include/babeltrace/values.h
@@
-232,7
+232,7
@@
enum bt_value_type {
BT_VALUE_TYPE_INTEGER = 2,
/// Floating point number value object (holds a \c double raw value).
BT_VALUE_TYPE_INTEGER = 2,
/// Floating point number value object (holds a \c double raw value).
- BT_VALUE_TYPE_
FLOAT =
3,
+ BT_VALUE_TYPE_
REAL =
3,
/// String value object.
BT_VALUE_TYPE_STRING = 4,
/// String value object.
BT_VALUE_TYPE_STRING = 4,
@@
-342,9
+342,9
@@
bt_bool bt_value_is_integer(const struct bt_value *object)
@sa bt_value_get_type(): Returns the type of a given value object.
*/
static inline
@sa bt_value_get_type(): Returns the type of a given value object.
*/
static inline
-bt_bool bt_value_is_
float
(const struct bt_value *object)
+bt_bool bt_value_is_
real
(const struct bt_value *object)
{
{
- return bt_value_get_type(object) == BT_VALUE_TYPE_
FLOAT
;
+ return bt_value_get_type(object) == BT_VALUE_TYPE_
REAL
;
}
/**
}
/**
@@
-614,7
+614,7
@@
The created floating point number value object's initial raw value is 0.
@sa bt_value_float_create_init(): Creates an initialized floating
point number value object.
*/
@sa bt_value_float_create_init(): Creates an initialized floating
point number value object.
*/
-extern struct bt_value *bt_value_
float
_create(void);
+extern struct bt_value *bt_value_
real
_create(void);
/**
@brief Creates a floating point number value object with its initial raw
/**
@brief Creates a floating point number value object with its initial raw
@@
-629,7
+629,7
@@
extern struct bt_value *bt_value_float_create(void);
@sa bt_value_float_create(): Creates a default floating point number
value object.
*/
@sa bt_value_float_create(): Creates a default floating point number
value object.
*/
-extern struct bt_value *bt_value_
float
_create_init(double val);
+extern struct bt_value *bt_value_
real
_create_init(double val);
/**
@brief Returns the floating point number raw value of the floating point
/**
@brief Returns the floating point number raw value of the floating point
@@
-648,8
+648,8
@@
extern struct bt_value *bt_value_float_create_init(double val);
@sa bt_value_float_set(): Sets the raw value of a given floating
point number value object.
*/
@sa bt_value_float_set(): Sets the raw value of a given floating
point number value object.
*/
-extern enum bt_value_status bt_value_
float
_get(
- const struct bt_value *
float
_obj, double *val);
+extern enum bt_value_status bt_value_
real
_get(
+ const struct bt_value *
real
_obj, double *val);
/**
@brief Sets the floating point number raw value of the floating point
/**
@brief Sets the floating point number raw value of the floating point
@@
-668,8
+668,8
@@
extern enum bt_value_status bt_value_float_get(
@sa bt_value_float_get(): Returns the raw value of a floating point
number value object.
*/
@sa bt_value_float_get(): Returns the raw value of a floating point
number value object.
*/
-extern enum bt_value_status bt_value_
float
_set(
- struct bt_value *
float
_obj, double val);
+extern enum bt_value_status bt_value_
real
_set(
+ struct bt_value *
real
_obj, double val);
/** @} */
/** @} */
@@
-935,7
+935,7
@@
point number value object before appending it.
@sa bt_value_array_append(): Appends a value object to a given
array value object.
*/
@sa bt_value_array_append(): Appends a value object to a given
array value object.
*/
-extern enum bt_value_status bt_value_array_append_
float
(
+extern enum bt_value_status bt_value_array_append_
real
(
struct bt_value *array_obj, double val);
/**
struct bt_value *array_obj, double val);
/**
@@
-1306,7
+1306,7
@@
On success, \p key is copied.
@sa bt_value_map_insert(): Inserts a value object into a given map
value object.
*/
@sa bt_value_map_insert(): Inserts a value object into a given map
value object.
*/
-extern enum bt_value_status bt_value_map_insert_
float
(
+extern enum bt_value_status bt_value_map_insert_
real
(
struct bt_value *map_obj, const char *key, double val);
/**
struct bt_value *map_obj, const char *key, double val);
/**
This page took
0.027695 seconds
and
4
git commands to generate.