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

[#210] Add proc macro for FFI boilerplate code #295

Conversation

elBoberido
Copy link
Member

@elBoberido elBoberido commented Jul 14, 2024

Notes for Reviewer

This PR adds a proc macro to reduce the amount of boilerplate code required for the FFI crate

Pre-Review Checklist for the PR Author

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

Checklist for the PR Reviewer

  • Commits are properly organized and messages are according to the guideline
  • Unit tests have been written for new behavior
  • Public API is documented
  • PR title describes the changes

Post-review Checklist for the PR Author

  1. All open points are addressed and tracked via issues

References

Relates to #210

@elBoberido elBoberido self-assigned this Jul 14, 2024
@elBoberido elBoberido force-pushed the iox2-210-add-macro-for-ffi-boilerplate branch from 359d1dd to f0c0530 Compare July 14, 2024 23:27
Copy link

codecov bot commented Jul 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.34%. Comparing base (036de1e) to head (b66aec7).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #295      +/-   ##
==========================================
- Coverage   80.38%   80.34%   -0.04%     
==========================================
  Files         191      191              
  Lines       21814    21814              
==========================================
- Hits        17535    17527       -8     
- Misses       4279     4287       +8     

see 5 files with indirect coverage changes

@elBoberido elBoberido changed the title [WIP Baed on #291] [#210] Add proc macro for FFI boilerplate code [WIP Based on #291] [#210] Add proc macro for FFI boilerplate code Jul 14, 2024
@elBoberido elBoberido force-pushed the iox2-210-add-macro-for-ffi-boilerplate branch from f0c0530 to b66aec7 Compare July 15, 2024 03:10
@elBoberido elBoberido changed the title [WIP Based on #291] [#210] Add proc macro for FFI boilerplate code [#210] Add proc macro for FFI boilerplate code Jul 15, 2024
@elBoberido elBoberido merged commit d0087bf into eclipse-iceoryx:main Jul 15, 2024
53 checks passed
@elBoberido elBoberido deleted the iox2-210-add-macro-for-ffi-boilerplate branch July 15, 2024 15:41
@elBoberido elBoberido linked an issue Sep 27, 2024 that may be closed by this pull request
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.

Create C language binding
2 participants