lib: add unsigned and signed integer value API
[babeltrace.git] / include / babeltrace / value-internal.h
index dd3fb7d9fae321ca39ac086043346ef3c635ecb4..0e50e2de0fb4c3c1566fd5bf053507e2d9496e09 100644 (file)
@@ -42,7 +42,10 @@ struct bt_value_bool {
 
 struct bt_value_integer {
        struct bt_value base;
-       int64_t value;
+       union {
+               uint64_t i;
+               int64_t u;
+       } value;
 };
 
 struct bt_value_real {
This page took 0.023116 seconds and 4 git commands to generate.