X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Ffield-const.h;h=193cf4a44bc849c6c5a4094792788d9b6793846b;hb=8bc207afcf9695b096a0a8e8405f06b6328f069b;hp=dcaf40c17d692dd3db4a05d30f4711899ae02f02;hpb=6943da6ac9da92ceccfbcfc9858105ecc94a62fb;p=babeltrace.git diff --git a/include/babeltrace2/trace-ir/field-const.h b/include/babeltrace2/trace-ir/field-const.h index dcaf40c1..193cf4a4 100644 --- a/include/babeltrace2/trace-ir/field-const.h +++ b/include/babeltrace2/trace-ir/field-const.h @@ -52,7 +52,9 @@ extern int64_t bt_field_integer_signed_get_value(const bt_field *field); extern uint64_t bt_field_integer_unsigned_get_value( const bt_field *field); -extern double bt_field_real_get_value(const bt_field *field); +extern float bt_field_real_single_precision_get_value(const bt_field *field); + +extern double bt_field_real_double_precision_get_value(const bt_field *field); typedef enum bt_field_enumeration_get_mapping_labels_status { BT_FIELD_ENUMERATION_GET_MAPPING_LABELS_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR, @@ -101,12 +103,12 @@ extern const bt_field_class_variant_option * bt_field_variant_borrow_selected_class_option_const( const bt_field *field); -extern const bt_field_class_variant_with_selector_unsigned_option * -bt_field_variant_with_unsigned_selector_borrow_selected_class_option_const( +extern const bt_field_class_variant_with_selector_field_integer_unsigned_option * +bt_field_variant_with_unsigned_integer_selector_borrow_selected_class_option_const( const bt_field *field); -extern const bt_field_class_variant_with_selector_signed_option * -bt_field_variant_with_signed_selector_borrow_selected_class_option_const( +extern const bt_field_class_variant_with_selector_field_integer_signed_option * +bt_field_variant_with_signed_integer_selector_borrow_selected_class_option_const( const bt_field *field); #ifdef __cplusplus