Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Improve dispatch API #86

Merged
merged 10 commits into from
Mar 14, 2024
Merged

Improve dispatch API #86

merged 10 commits into from
Mar 14, 2024

Conversation

dmitry-kabanov
Copy link
Owner

This PR

  • fixes warnings in dispatch.c found by clang-tidy and cppcheck
  • Improves dispatch API by renaming load_backend to load_impl, call_interface_method to call_interface_impl, run_interface_method to call_impl.

So now:

  • dispatch.c (liboif) has functions load_interface_impl, unload_interface_impl, call_interface_impl
  • Each language-specific dispatch implements functions load_impl, unload_impl, call_impl.

Therefore, the API becomes more logical and easier to use.

@dmitry-kabanov
Copy link
Owner Author

Closes issue #68

@dmitry-kabanov dmitry-kabanov merged commit 4a179a5 into main Mar 14, 2024
3 checks passed
@dmitry-kabanov dmitry-kabanov deleted the improve-dispatch-api branch March 14, 2024 16:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant