void FreeAutoEng(void* arg) { FcitxAutoEngState *autoEngState = (FcitxAutoEngState*)arg; AutoEngFreeList(autoEngState); fcitx_utils_free(autoEngState->buf); fcitx_utils_free(autoEngState->back_buff); }
void ReloadAutoEng(void* arg) { FcitxAutoEngState *autoEngState = (FcitxAutoEngState*)arg; AutoEngFreeList(autoEngState); LoadAutoEng(autoEngState); autoEngState->enable = getCfgValueBool("sogouEnv.ini", "Advance:UrlMode", 1); }
void ReloadAutoEng(void* arg) { FcitxAutoEngState *autoEngState = (FcitxAutoEngState*)arg; AutoEngFreeList(autoEngState); LoadAutoEng(autoEngState); }