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