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

directory_iterator: un-inline _inode_number #114

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented Sep 4, 2023

This change partially reverts d068ca4 as it breaks the ABI compatibility of the library. It re-introduces sqsh_directory_iterator_inode_number() as a non-inline function.

This change partially reverts d068ca4 as it breaks the ABI compatibility
of the library. It re-introduces sqsh_directory_iterator_inode_number() as
a non-inline function.
@codecov
Copy link

codecov bot commented Sep 4, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.03% ⚠️

Comparison is base (60a6b67) 59.21% compared to head (4ed176e) 59.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
- Coverage   59.21%   59.19%   -0.03%     
==========================================
  Files          58       58              
  Lines        4742     4744       +2     
  Branches      710      710              
==========================================
  Hits         2808     2808              
- Misses       1524     1526       +2     
  Partials      410      410              
Files Changed Coverage Δ
lib/directory/directory_iterator.c 76.19% <0.00%> (-0.67%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gottox Gottox merged commit cfbece5 into main Sep 4, 2023
22 of 23 checks passed
@Dr-Emann
Copy link
Contributor

Dr-Emann commented Sep 5, 2023

Should be able to use inline in the header, but provide an external implementation with extern inline in the .c file, if you want.

@Gottox Gottox deleted the fix/un-inline-_inode_number branch September 5, 2023 10:40
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.

2 participants