sink.text.pretty: abort on unknown field class type
[babeltrace.git] / src / plugins / ctf / common / metadata / objstack.hpp
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 *
6 * Common Trace Format Object Stack.
7 */
8
9#ifndef _OBJSTACK_H
10#define _OBJSTACK_H
11
12#include <cstddef>
13
14struct objstack *objstack_create(void);
15void objstack_destroy(struct objstack *objstack);
16
17/*
18 * Allocate len bytes of zeroed memory.
19 * Return NULL on error.
20 */
21void *objstack_alloc(struct objstack *objstack, size_t len);
22
23#endif /* _OBJSTACK_H */
This page took 0.022512 seconds and 4 git commands to generate.