language = "C"
header = """
/*
* Copyright (c) 2024
* libchewing Core Team.
*
* See the file "COPYING" for information on usage and redistribution
* of this file.
*/"""
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
include_guard = "chewing_public_bindings_h"
pragma_once = true
cpp_compat = true
after_includes = """
/** @brief context handle used for Chewing IM APIs
*/
typedef struct ChewingContext ChewingContext;
/** @brief indicate the internal encoding of data processing.
* @since 0.3.0
*/
#define LIBCHEWING_ENCODING "UTF-8"
"""
[parse]
parse_deps = true
include = ["chewing"]
[struct]
rename_fields = "CamelCase"
[enum]
rename_variants = "ScreamingSnakeCase"
[export]
include = [
"ChewingConfigData",
"IntervalType",
"ChewingContext",
"KB",
"UserUpdate",
"ChewingContext",
]