665 B、24行 生 Blame 履歴
1/*
2 * SPDX-FileCopyrightText: 2014 Weng Xuetian <wengxt@gmail.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7#ifndef _XCB_IMDKIT_ENCODING_H_
8#define _XCB_IMDKIT_ENCODING_H_
9
10#include "ximcommon.h"
11#include <stdlib.h>
12
13XCBIMDKIT_DECL_BEGIN
14
15XCBIMDKIT_EXPORT void xcb_compound_text_init();
16XCBIMDKIT_EXPORT char *
17xcb_utf8_to_compound_text(const char *utf8, size_t length, size_t *lenghtOut);
18XCBIMDKIT_EXPORT char *xcb_compound_text_to_utf8(const char *compound_text,
19 size_t length,
20 size_t *lenghtOut);
21
22XCBIMDKIT_DECL_END
23
24#endif // _XCB_IMDKIT_ENCODING_H_