cpp-common/bt2c/fmt.hpp: use `wise_enum::string_type` in `EnableIfIsWiseEnum` definition
[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.029054 seconds and 4 git commands to generate.