Finish float
[babeltrace.git] / include / babeltrace / format.h
index 1a847846b6dc659e63459b49afdbfedd447267db..539197299a37811ef02f5db6484f3065fc528331 100644 (file)
@@ -51,18 +51,22 @@ struct format {
                        const struct type_class_bitfield *bitfield_class,
                        int64_t v);
 
-       void (*float_copy)(struct stream_pos *destp,
-                          const struct type_class_float *dest,
-                          struct stream_pos *srcp,
+       void (*float_copy)(struct stream_pos *dest,
+                          struct stream_pos *src,
                           const struct type_class_float *src);
        double (*double_read)(struct stream_pos *pos,
-                             const struct type_class_float *src);
+                             const struct type_class_float *float_class);
        void (*double_write)(struct stream_pos *pos,
-                            const struct type_class_float *dest,
+                            const struct type_class_float *float_class,
                             double v);
 
        void (*string_copy)(struct stream_pos *dest, struct stream_pos *src,
                            const struct type_class_string *string_class);
+       void (*string_read)(unsigned char **dest, struct stream_pos *src,
+                           const struct type_class_string *string_class);
+       void (*string_write)(struct stream_pos *dest, const unsigned char *src,
+                            const struct type_class_string *string_class);
+       void (*string_free_temp)(unsigned char *string);
 
        GQuark (*enum_read)(struct stream_pos *pos,
                            const struct type_class_enum *src);
This page took 0.024889 seconds and 4 git commands to generate.