Skip to content
Flecs v4.1
os_api_impl.h
Go to the documentation of this file.
1/**
2 * @file addons/os_api_impl.h
3 * @brief Default OS API implementation.
4 */
5
6#ifdef FLECS_OS_API_IMPL
7
8/**
9 * @defgroup c_addons_os_api_impl OS API Implementation
10 * @ingroup c_addons
11 * Default implementation for OS API interface.
12 *
13 * @{
14 */
15
16#ifndef FLECS_OS_API_IMPL_H
17#define FLECS_OS_API_IMPL_H
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/** Set default OS API implementation.
24 * This initializes the OS API with a default implementation for the current
25 * platform.
26 */
27FLECS_API
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif // FLECS_OS_API_IMPL_H
35
36/** @} */
37
38#endif // FLECS_OS_API_IMPL
FLECS_API void ecs_set_os_api_impl(void)
Set default OS API implementation.