Skip to content

Commit

Permalink
replace call to rime_get_api
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored and lotem committed Jan 16, 2023
1 parent f2c7e40 commit d547b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ RIME_MODULE_INITIALIZER(rime_register_module_##name) { \
module.initialize = rime_##name##_initialize; \
module.finalize = rime_##name##_finalize; \
} \
rime_get_api()->register_module(&module); \
RimeRegisterModule(&module); \
}

/*!
Expand All @@ -615,7 +615,7 @@ RIME_MODULE_INITIALIZER(rime_register_module_##name) { \
module.finalize = rime_##name##_finalize; \
rime_customize_module_##name(&module); \
} \
rime_get_api()->register_module(&module); \
RimeRegisterModule(&module); \
} \
static void rime_customize_module_##name(RimeModule* module)

Expand Down

0 comments on commit d547b69

Please # to comment.