| 1 | /* |
| 2 | * SPDX-FileCopyrightText: 2016 Weng Xuetian <wengxt@gmail.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: LGPL-2.1-only |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef XIMCOMMON_H |
| 9 | #define XIMCOMMON_H |
| 10 | |
| 11 | #include "xcbimdkit_export.h" |
| 12 | |
| 13 | #ifndef XCBIMDKIT_DECL_BEGIN |
| 14 | #ifdef __cplusplus |
| 15 | #define XCBIMDKIT_DECL_BEGIN extern "C" { |
| 16 | #else |
| 17 | #define XCBIMDKIT_DECL_BEGIN |
| 18 | #endif |
| 19 | #endif |
| 20 | |
| 21 | #ifndef XCBIMDKIT_DECL_END |
| 22 | #ifdef __cplusplus |
| 23 | #define XCBIMDKIT_DECL_END } |
| 24 | #else |
| 25 | #define XCBIMDKIT_DECL_END |
| 26 | #endif |
| 27 | #endif |
| 28 | |
| 29 | #endif |