pub unsafe extern "C" fn imservice_connect_listeners(
    im: InputMethod,
    imservice: *const IMService
)