Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(api): expose candidate operation apis #664

Merged
merged 1 commit into from
Jun 23, 2023
Merged

Conversation

eagleoflqj
Copy link
Member

Pull request

Issue tracker

Fixes will automatically close the related issue

Fixes #

Feature

Upstream a patch. Similar with #597, I need these APIs but don't want to use rime_get_api.

Unit test

  • Done

Manual test

  • Done at My RIME

Code Review

  1. Unit and manual test pass
  2. GitHub Action CI pass
  3. At least one contributor reviews and votes
  4. Can be merged clean without conflicts
  5. PR will be merged by rebase upstream base

Additional Info

@lotem lotem changed the title Expose candidate operation apis (api): expose candidate operation apis Jun 23, 2023
@lotem lotem merged commit 6772e2d into rime:master Jun 23, 2023
@eagleoflqj eagleoflqj deleted the expose-api branch June 23, 2023 10:45
@lotem
Copy link
Member

lotem commented Feb 9, 2024

Why not use rime_get_api?

@eagleoflqj
Copy link
Member Author

The struct returned by rime_get_api contains references to all api functions. I don't need all. It can reduce binary size in static linking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants