doc/api/libbabeltrace2/DoxygenLayout.xml: use `topics` tab
[babeltrace.git] / src / plugins / ctf / common / src / metadata / tsdl / objstack.hpp
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
14 namespace bt2c {
15
16 class Logger;
17
18 } /* namespace bt2c */
19
20 struct objstack *objstack_create(const bt2c::Logger& parentLogger);
21 void objstack_destroy(struct objstack *objstack);
22
23 /*
24 * Allocate len bytes of zeroed memory.
25 * Return NULL on error.
26 */
27 void *objstack_alloc(struct objstack *objstack, size_t len);
28
29 #endif /* _OBJSTACK_H */
This page took 0.036982 seconds and 5 git commands to generate.