Use inheritance for trace descriptor and positions
[babeltrace.git] / include / babeltrace / format.h
index cddc41a129e32bda61915df26c2b46367e5a8201..cbba50b0ee26e6e3604ad35035720e0f66ff5401 100644 (file)
@@ -24,7 +24,9 @@
 #include <stdio.h>
 #include <glib.h>
 
-struct trace_descriptor;
+/* Parent trace descriptor */
+struct trace_descriptor {
+};
 
 struct format {
        GQuark name;
@@ -48,6 +50,11 @@ struct format {
        void (*double_write)(struct stream_pos *pos,
                const struct declaration_float *float_declaration,
                double v);
+       long double (*ldouble_read)(struct stream_pos *pos,
+               const struct declaration_float *float_declaration);
+       void (*ldouble_write)(struct stream_pos *pos,
+               const struct declaration_float *float_declaration,
+               long double v);
 
        void (*string_copy)(struct stream_pos *dest, struct stream_pos *src,
                const struct declaration_string *string_declaration);
This page took 0.031146 seconds and 4 git commands to generate.