Skip to content

Commit 487f6f9

Browse files
authored
Merge pull request #217 from naokiri/expose_free_preedit
Free preedit
2 parents 0463fe9 + 2fbdb1f commit 487f6f9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cskk"
33
# Have to also change the deb package destination filename below
4-
version = "1.0.1"
4+
version = "1.1.0"
55
authors = ["Naoaki Iwakiri <[email protected]>"]
66
license = "GPL-3.0-or-later"
77
edition = "2018"
@@ -73,7 +73,7 @@ preserve-symlinks = true
7373
# x86_64 specific, depends on cargo-c too.
7474
# Includes development things like static link lib and header files too.
7575
assets = [["assets/**/*", "usr/local/share/libcskk", "644"],
76-
["target/x86_64-unknown-linux-gnu/release/libcskk.so", "usr/local/lib/cskk/libcskk.so.1.0.1", "755"],
76+
["target/x86_64-unknown-linux-gnu/release/libcskk.so", "usr/local/lib/cskk/libcskk.so.1.1.0", "755"],
7777
["deb_assets/libcskk.*", "usr/local/lib/cskk", "777"],
7878
["target/x86_64-unknown-linux-gnu/release/libcskk.a", "usr/local/lib/cskk/", "644"],
7979
["target/x86_64-unknown-linux-gnu/release/cskk.pc", "usr/local/lib/pkgconfig/", "644"],

src/capi.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,8 @@ fn convert_precomposition_data(precomposition_data: PreCompositionData) -> PreCo
565565
/// # Safety
566566
/// ptrとlengthはskk_context_get_preedit_detailsの返り値でなければならない。
567567
///
568-
pub unsafe extern "C" fn skk_free_preedit_details(ptr: *mut CskkStateInfoFfi, length: c_uint) {
568+
#[no_mangle]
569+
pub unsafe extern "C" fn skk_free_preedit_detail(ptr: *mut CskkStateInfoFfi, length: c_uint) {
569570
if ptr.is_null() {
570571
return;
571572
}

0 commit comments

Comments
 (0)