Initial implementation of the debuginfo API
[babeltrace.git] / formats / ctf-text / types / integer.c
index 3a469f611ae2e2bd1a4c483d4742df19ef3ba15b..34df4fc9fca49190f7c55c0d26440563ed18f5d8 100644 (file)
@@ -31,8 +31,9 @@
 #include <inttypes.h>
 #include <stdint.h>
 #include <babeltrace/bitfield.h>
+#include <babeltrace/trace-debuginfo.h>
 
-int ctf_text_integer_write(struct bt_stream_pos *ppos, struct definition *definition)
+int ctf_text_integer_write(struct bt_stream_pos *ppos, struct bt_definition *definition)
 {
        struct definition_integer *integer_definition =
                container_of(definition, struct definition_integer, p);
@@ -124,5 +125,7 @@ int ctf_text_integer_write(struct bt_stream_pos *ppos, struct definition *defini
                return -EINVAL;
        }
 
+       ctf_text_integer_write_debug_info(ppos, definition);
+
        return 0;
 }
This page took 0.024044 seconds and 4 git commands to generate.