cpp-common/bt2c/fmt.hpp: use `wise_enum::string_type` in `EnableIfIsWiseEnum` definition
[babeltrace.git] / src / ctf-writer / field-wrapper.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2018 Philippe Proulx <pproulx@efficios.com>
5 */
6
7 #ifndef BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H
8 #define BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H
9
10 #include "common/macros.h"
11
12 #include "fields.h"
13 #include "object.h"
14 #include "object-pool.h"
15
16 struct bt_ctf_field_wrapper {
17 struct bt_ctf_object base;
18
19 /* Owned by this */
20 struct bt_ctf_field_common *field;
21 };
22
23 struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_new(void *data);
24
25 void bt_ctf_field_wrapper_destroy(struct bt_ctf_field_wrapper *field);
26
27 struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_create(
28 struct bt_ctf_object_pool *pool, struct bt_ctf_field_type *ft);
29
30 #endif /* BABELTRACE_CTF_WRITER_FIELD_WRAPPER_INTERNAL_H */
This page took 0.030125 seconds and 4 git commands to generate.