Add support for floating point fields in the Python bindings
[babeltrace.git] / include / babeltrace / types.h
index 026d28c6caf55f8c952e6fd16087c1158e93cde3..7db83164f6c36eead37443dd05a83ec312555426 100644 (file)
@@ -119,6 +119,7 @@ struct bt_stream_pos {
                        struct bt_trace_descriptor *trace);
        int (*post_trace_cb)(struct bt_stream_pos *pos,
                        struct bt_trace_descriptor *trace);
+       struct bt_trace_descriptor *trace;
 };
 
 static inline
@@ -434,6 +435,8 @@ struct declaration_string *
 char *bt_get_string(const struct bt_definition *field);
 enum ctf_string_encoding bt_get_string_encoding(const struct bt_definition *field);
 
+double bt_get_float(const struct bt_definition *field);
+
 struct declaration_struct *
        bt_struct_declaration_new(struct declaration_scope *parent_scope,
                               uint64_t min_align);
This page took 0.023169 seconds and 4 git commands to generate.