X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fvalue.c;h=07985ea84b7cbbe9d428407d571553fbaf2a51f0;hb=f1567d42d9ac021ba18e64d1fb9327ccf5b18999;hp=83168e74fe9cd99c22922342a219684865a31feb;hpb=1d765120dc5c0d81369b4bccda7fb12234f1de63;p=babeltrace.git diff --git a/lib/value.c b/lib/value.c index 83168e74..07985ea8 100644 --- a/lib/value.c +++ b/lib/value.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include @@ -61,12 +60,6 @@ "Index is out of bound: " \ "index=%" PRIu64 ", count=%u", (_index), (_count)); -struct bt_value { - struct bt_object base; - enum bt_value_type type; - bt_bool frozen; -}; - static void bt_value_null_instance_release_func(struct bt_object *obj) { @@ -89,36 +82,6 @@ struct bt_value bt_value_null_instance = { struct bt_value *const bt_value_null = &bt_value_null_instance; -struct bt_value_bool { - struct bt_value base; - bt_bool value; -}; - -struct bt_value_integer { - struct bt_value base; - int64_t value; -}; - -struct bt_value_real { - struct bt_value base; - double value; -}; - -struct bt_value_string { - struct bt_value base; - GString *gstr; -}; - -struct bt_value_array { - struct bt_value base; - GPtrArray *garray; -}; - -struct bt_value_map { - struct bt_value base; - GHashTable *ght; -}; - static void bt_value_destroy(struct bt_object *obj);