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