| /** |
| * @file config.h |
| * @author Radek Krejci <rkrejci@cesnet.cz> |
| * @brief various variables detected by cmake |
| * |
| * Copyright (c) 2015 - 2018 CESNET, z.s.p.o. |
| * |
| * This source code is licensed under BSD 3-Clause License (the "License"). |
| * You may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * https://opensource.org/licenses/BSD-3-Clause |
| */ |
| |
| #ifndef LY_CONFIG_H_ |
| #define LY_CONFIG_H_ |
| |
| /** |
| * @brief Compiler flag for unused function attributes |
| */ |
| #define UNUSED(x) @COMPILER_UNUSED_ATTR@ |
| |
| /** |
| * @brief Compiler flag for packed data types. |
| */ |
| #define _PACKED @COMPILER_PACKED_ATTR@ |
| |
| #define LY_VERSION_MAJOR @LIBYANG_MAJOR_VERSION@ /**< libyang major version number */ |
| #define LY_VERSION_MINOR @LIBYANG_MINOR_VERSION@ /**< libyang minor version number */ |
| #define LY_VERSION_MICRO @LIBYANG_MICRO_VERSION@ /**< libyang micro version number */ |
| |
| #endif /* LY_CONFIG_H_ */ |