chewing_capi 0.10.3

The Chewing (酷音) intelligent Zhuyin input method.
Documentation
# See https://github.com/eqrion/cbindgen/blob/master/docs.md#cbindgentoml
# for detailed documentation of every option here.

language = "C"

############## Options for Wrapping the Contents of the Header #################

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",
]