Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
struct bt_ctf_trace *bt_ctf_writer_get_trace(struct bt_ctf_writer *writer)
{
struct bt_ctf_trace *trace = NULL;
struct bt_ctf_trace *bt_ctf_writer_get_trace(struct bt_ctf_writer *writer)
{
struct bt_ctf_trace *trace = NULL;
BT_HIDDEN
void bt_ctf_writer_freeze(struct bt_ctf_writer *writer);
BT_HIDDEN
void bt_ctf_writer_freeze(struct bt_ctf_writer *writer);
+/*
+ * bt_ctf_writer_get_trace: Get a writer's associated trace.
+ *
+ * @param writer Writer instance.
+ *
+ * Return the writer's associated instance, NULL on error.
+ */
+BT_HIDDEN
+struct bt_ctf_trace *bt_ctf_writer_get_trace(struct bt_ctf_writer *writer);
+
#endif /* BABELTRACE_CTF_WRITER_WRITER_INTERNAL_H */
#endif /* BABELTRACE_CTF_WRITER_WRITER_INTERNAL_H */
*/
extern struct bt_ctf_writer *bt_ctf_writer_create(const char *path);
*/
extern struct bt_ctf_writer *bt_ctf_writer_create(const char *path);
-/*
- * bt_ctf_writer_get_trace: Get a writer's associated trace.
- *
- * @param writer Writer instance.
- *
- * Return the writer's associated instance, NULL on error.
- */
-extern struct bt_ctf_trace *bt_ctf_writer_get_trace(
- struct bt_ctf_writer *writer);
-
/*
* bt_ctf_writer_create_stream: create a stream instance.
*
/*
* bt_ctf_writer_create_stream: create a stream instance.
*