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

Simplify conversion to array of object pointers. #27

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Feb 15, 2024

@vtjnash pointed me to RefArray, which cconverts to a temporary struct maintaining roots, in order to safely to recursive conversion of arrays. I've copied the pattern here, as we need to unsafe_convert to id object pointers and not regular ptr pointers.

Copy link

codecov bot commented Feb 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1fa90fa) 69.68% compared to head (ab74030) 69.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   69.68%   69.84%   +0.15%     
==========================================
  Files           9        9              
  Lines         630      630              
==========================================
+ Hits          439      440       +1     
+ Misses        191      190       -1     

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

@maleadt maleadt merged commit 3dd9772 into master Feb 15, 2024
7 checks passed
@maleadt maleadt deleted the tb/idarray branch February 15, 2024 15:46
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.

None yet

1 participant