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 
9 #pragma once
10 
21 #include <stddef.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
32 #ifndef XTSTR
33 # ifndef DOXYGEN
34 # define _XTSTR(x) # x
35 # endif /* DOXYGEN */
36 # define XTSTR(x) _XTSTR(x)
37 #endif /* XTSTR */
38 
39 #ifdef __cplusplus
40 }
41 #endif
42