fujiwarat / anthy-unicode

Anthy Unicode - Another Anthy
Other
31 stars 7 forks source link

Implement anthy_set_logger #9

Closed rocka closed 1 year ago

rocka commented 1 year ago

While are trying to port Anthy (actually fcitx5-anthy) to Android (fcitx5-android), I noticed that anthy_set_logger has no effect. A quick looking through to the code, I found it is /* to be implemented */. So I wrote a simple Implemention, alloc a buffer to save log string, then pass it to the logger function.

fujiwarat commented 1 year ago

Thank you for the patch. Could you please add BUG=https://github.com/fujiwarat/anthy-unicode/pull/9 to each commit description?

xchar: fix type in header guard

I guess it's typo but not type?

rocka commented 1 year ago

Oh sorry, I've fixed that ...