Update pretty-print
[babeltrace.git] / types / float.c
index a5917beb14a44a5fc826adcf1ed5d303b2fc0144..5ce6bb43628cfa907c32228be83c03696de8d30a 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <babeltrace/compiler.h>
 #include <babeltrace/format.h>
+#include <endian.h>
 
 static
 struct definition *_float_definition_new(struct declaration *declaration,
@@ -102,6 +103,8 @@ struct definition *
        }
        _float->p.ref = 1;
        _float->p.index = index;
+       _float->p.name = field_name;
+       _float->p.path = new_definition_path(parent_scope, field_name);
        _float->value = 0.0;
        return &_float->p;
 }
This page took 0.023155 seconds and 4 git commands to generate.