eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
444 stars 22 forks source link

[#210] Initial setup for C language binding #227

Closed elBoberido closed 1 week ago

elBoberido commented 3 weeks ago

Notes for Reviewer

This PR creates the initial setup for the C language bindings

I still need to add some content to the readmes

Pre-Review Checklist for the PR Author

  1. [x] Add sensible notes for the reviewer
  2. [x] PR title is short, expressive and meaningful
  3. [x] Relevant issues are linked in the References section
  4. [x] Every source code file has a copyright header with SPDX-License-Identifier: Apache-2.0 OR MIT
  5. [x] Branch follows the naming format (iox2-123-introduce-posix-ipc-example)
  6. [x] Commits messages are according to this guideline
    • [x] Commit messages have the issue ID ([#123] Add posix ipc example)
    • [x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)
  7. [x] Tests follow the best practice for testing
  8. [x] Changelog updated in the unreleased section including API breaking changes
  9. [x] Assign PR to reviewer
  10. [x] All checks have passed (except task-list-completed)

Checklist for the PR Reviewer

Post-review Checklist for the PR Author

  1. [x] All open points are addressed and tracked via issues

References

Relates to #210

elfenpiff commented 3 weeks ago

@elBoberido I tested it and everything works great. The first step into C land feels great.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 116 lines in your changes missing coverage. Please review.

Project coverage is 79.27%. Comparing base (dcfaf01) to head (ec4701c). Report is 18 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/227/graphs/tree.svg?width=650&height=150&src=pr&token=FN3YFXTJCI&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx)](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/227?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx) ```diff @@ Coverage Diff @@ ## main #227 +/- ## ========================================== - Coverage 79.71% 79.27% -0.45% ========================================== Files 186 190 +4 Lines 20575 20943 +368 ========================================== + Hits 16401 16602 +201 - Misses 4174 4341 +167 ``` | [Files](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/227?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx) | Coverage Δ | | |---|---|---| | [iceoryx2-ffi/ffi/src/lib.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/227?src=pr&el=tree&filepath=iceoryx2-ffi%2Fffi%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItZmZpL2ZmaS9zcmMvbGliLnJz) | `0.00% <0.00%> (ø)` | | | [iceoryx2-ffi/ffi/src/subscriber.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/227?src=pr&el=tree&filepath=iceoryx2-ffi%2Fffi%2Fsrc%2Fsubscriber.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItZmZpL2ZmaS9zcmMvc3Vic2NyaWJlci5ycw==) | `0.00% <0.00%> (ø)` | | | [iceoryx2-ffi/ffi/src/publisher.rs](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/227?src=pr&el=tree&filepath=iceoryx2-ffi%2Fffi%2Fsrc%2Fpublisher.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx#diff-aWNlb3J5eDItZmZpL2ZmaS9zcmMvcHVibGlzaGVyLnJz) | `0.00% <0.00%> (ø)` | | ... and [14 files with indirect coverage changes](https://app.codecov.io/gh/eclipse-iceoryx/iceoryx2/pull/227/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse-iceoryx)