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

Add type generic macro for deleting API objects #152

Merged
merged 1 commit into from
Apr 24, 2022
Merged

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Apr 24, 2022

  • dispatch object handles to their respective deconstructor using _Generic
  • automatically handle pass by reference of the object handle

- dispatch object handles to their respective deconstructor using _Generic
- automatically handle pass by reference of the object handle
@awvwgk awvwgk added the API Affects the C-binding layer. label Apr 24, 2022
@codecov
Copy link

codecov bot commented Apr 24, 2022

Codecov Report

Merging #152 (36612f8) into main (b1faf68) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   59.04%   59.04%           
=======================================
  Files          42       42           
  Lines        3013     3013           
  Branches     1019     1019           
=======================================
  Hits         1779     1779           
  Misses        653      653           
  Partials      581      581           
Impacted Files Coverage Δ
test/api/example.c 51.21% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b1faf68...36612f8. Read the comment docs.

@awvwgk awvwgk merged commit f6cc187 into dftd4:main Apr 24, 2022
@awvwgk awvwgk deleted the _Generic branch April 24, 2022 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Affects the C-binding layer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant