kkc

kkc

Functions

void kkc_init ()

Types and Values

Object Hierarchy

    GEnum
    ╰── KkcInputMode

Description

Functions

kkc_init ()

void
kkc_init (void);

Initialize libkkc.

Must be called before using any functions in libkkc.

Parameters

self

the (null) instance

 

Types and Values

enum KkcInputMode

Type to specify input modes.

Members

KKC_INPUT_MODE_HIRAGANA

Hiragana like "あいう...".

 

KKC_INPUT_MODE_KATAKANA

Katakana like "アイウ...".

 

KKC_INPUT_MODE_HANKAKU_KATAKANA

Half-width katakana like "アイウ...".

 

KKC_INPUT_MODE_LATIN

Half-width latin like "abc...".

 

KKC_INPUT_MODE_WIDE_LATIN

Full-width latin like "abc...".

 

KKC_INPUT_MODE_DIRECT

Direct input.

 

kkc_use_mapped_index_file

extern gboolean kkc_use_mapped_index_file;

Flag to indicate whether to use mmap for indices.

If `false`, all the contents of indices will be loaded while initialization.