Zth (libzth)
Loading...
Searching...
No Matches
zth_config.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2019-2026 Jochem Rutgers
2//
3// SPDX-License-Identifier: CC0-1.0
4
5// Default zth configuration. Copy this file, and override defaults in the
6// Config class below. Make sure it is in your include path, and zth will use
7// your config file. For CMake, so something like this:
8//
9// target_include_directories(libzth BEFORE PUBLIC ${CMAKE_SOURCE_DIR}/include)
10
11#ifndef ZTH_CONFIG_H
12# error Do not include this file directly, include <zth> instead.
13#endif
14
15#ifdef __cplusplus
16namespace zth {
17
26struct Config : public DefaultConfig {
27 // Override defaults from DefaultConfig here for your local setup.
28 // static size_t const DefaultFiberStackSize = 0x2000;
29};
30
31} // namespace zth
32#endif // __cplusplus
The configuration of Zth.
Definition zth_config.h:26