Skip to content

Add type generic macro for deleting API objects#152

Merged
awvwgk merged 1 commit intodftd4:mainfrom
awvwgk:_Generic
Apr 24, 2022
Merged

Add type generic macro for deleting API objects#152
awvwgk merged 1 commit intodftd4:mainfrom
awvwgk:_Generic

Conversation

@awvwgk
Copy link
Copy Markdown
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
Copy Markdown

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.

1 participant