CTF float/types compile fixes
[babeltrace.git] / include / babeltrace / ctf / types.h
index a2ccca680d16bd2d0d094a0d97dba19848ead1da..6db8d27081848845a5674203ffc4f2a3fd0964a7 100644 (file)
@@ -59,14 +59,14 @@ void ctf_float_copy(struct stream_pos *destp,
 
 void ctf_string_copy(struct stream_pos *dest, struct stream_pos *src,
                     const struct type_class_string *string_class);
-void ctf_string_read(unsigned char **dest, struct stream_pos *src,
+void ctf_string_read(char **dest, struct stream_pos *src,
                     const struct type_class_string *string_class);
-void ctf_string_write(struct stream_pos *dest, const unsigned char *src,
+void ctf_string_write(struct stream_pos *dest, const char *src,
                      const struct type_class_string *string_class);
-void ctf_string_free_temp(unsigned char *string);
+void ctf_string_free_temp(char *string);
 
-GQuark ctf_enum_read(struct stream_pos *pos,
-               const struct type_class_enum *src);
+GArray *ctf_enum_read(struct stream_pos *pos,
+                     const struct type_class_enum *src);
 void ctf_enum_write(struct stream_pos *pos,
                const struct type_class_enum *dest,
                GQuark q);
@@ -74,6 +74,10 @@ void ctf_struct_begin(struct stream_pos *pos,
                      const struct type_class_struct *struct_class);
 void ctf_struct_end(struct stream_pos *pos,
                    const struct type_class_struct *struct_class);
+void ctf_variant_begin(struct stream_pos *pos,
+                      const struct type_class_variant *variant_class);
+void ctf_variant_end(struct stream_pos *pos,
+                    const struct type_class_variant *variant_class);
 void ctf_array_begin(struct stream_pos *pos,
                     const struct type_class_array *array_class);
 void ctf_array_end(struct stream_pos *pos,
This page took 0.024309 seconds and 4 git commands to generate.