Move to kernel style SPDX license identifiers
[babeltrace.git] / src / lib / trace-ir / field-wrapper.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2018 Philippe Proulx <pproulx@efficios.com>
5 */
6
7 #ifndef BABELTRACE_TRACE_IR_FIELD_WRAPPER_INTERNAL_H
8 #define BABELTRACE_TRACE_IR_FIELD_WRAPPER_INTERNAL_H
9
10 #include "common/macros.h"
11 #include "lib/object-pool.h"
12 #include "lib/object.h"
13
14 #include "field.h"
15
16 struct bt_field_wrapper {
17 struct bt_object base;
18
19 /* Owned by this */
20 struct bt_field *field;
21 };
22
23 BT_HIDDEN
24 struct bt_field_wrapper *bt_field_wrapper_new(void *data);
25
26 BT_HIDDEN
27 void bt_field_wrapper_destroy(struct bt_field_wrapper *field);
28
29 BT_HIDDEN
30 struct bt_field_wrapper *bt_field_wrapper_create(
31 struct bt_object_pool *pool, struct bt_field_class *fc);
32
33 #endif /* BABELTRACE_TRACE_IR_FIELD_WRAPPER_INTERNAL_H */
This page took 0.029284 seconds and 4 git commands to generate.