Loading...
Searching...
No Matches
xtstr.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Gunar Schorcht
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
19#ifndef MACROS_XTSTR_H
20#define MACROS_XTSTR_H
21
22#include <stddef.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
33#ifndef XTSTR
34# ifndef DOXYGEN
35# define _XTSTR(x) # x
36# endif /* DOXYGEN */
37# define XTSTR(x) _XTSTR(x)
38#endif /* XTSTR */
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* MACROS_XTSTR_H */