doc/api/libbabeltrace2/DoxygenLayout.xml: use `topics` tab
[babeltrace.git] / src / lib / trace-ir / clock-class.h
index 7c5b76af7d18204c0321595e9af170247f164b30..54eeb0c85de21bd8d2398b9c99d5b1314aaa4688 100644 (file)
 
 #include <babeltrace2/trace-ir/clock-class.h>
 #include "lib/object.h"
-#include "common/macros.h"
 #include "common/common.h"
 #include "lib/object-pool.h"
 #include "common/uuid.h"
 #include <babeltrace2/types.h>
-#include "lib/property.h"
 #include "common/assert.h"
 #include <stdbool.h>
 #include <stdint.h>
@@ -29,19 +27,8 @@ struct bt_clock_class {
        /* Owned by this */
        struct bt_value *user_attributes;
 
-       struct {
-               GString *str;
-
-               /* NULL or `str->str` above */
-               const char *value;
-       } name;
-
-       struct {
-               GString *str;
-
-               /* NULL or `str->str` above */
-               const char *value;
-       } description;
+       gchar *name;
+       gchar *description;
 
        uint64_t frequency;
        uint64_t precision;
@@ -81,7 +68,6 @@ struct bt_clock_class {
        bool frozen;
 };
 
-BT_HIDDEN
 void _bt_clock_class_freeze(const struct bt_clock_class *clock_class);
 
 #ifdef BT_DEV_MODE
@@ -90,7 +76,6 @@ void _bt_clock_class_freeze(const struct bt_clock_class *clock_class);
 # define bt_clock_class_freeze(_cc)
 #endif
 
-BT_HIDDEN
 bt_bool bt_clock_class_is_valid(struct bt_clock_class *clock_class);
 
 static inline
This page took 0.023651 seconds and 4 git commands to generate.