JuliaInterop / ObjectiveC.jl

Objective-C embedded in Julia
Other
39 stars 10 forks source link

Simplify conversion to array of object pointers. #27

Closed maleadt closed 7 months ago

maleadt commented 7 months ago

@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.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.