-
Notifications
You must be signed in to change notification settings - Fork 411
Bindings updates for 789 #801
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
Bindings updates for 789 #801
Conversation
Sadly, there's just not really a practical way to map a slice of objects in our current bindings infrastructure - either we take ownership of the underlying objects and move them into a Vec, or we need to leave the original objects in place and have a list of pointers to the Rust objects. Thus, the only practical mapping is to create a slice of references using the pointers we have.
`from_c_conversion_container_new_var` should use var_access when it wishes to access the variable being converted, not `var_name`, but in a few cases it did not. Note that this has no impact on the generated bindings as of this commit.
Codecov Report
@@ Coverage Diff @@
## main #801 +/- ##
==========================================
- Coverage 90.82% 90.77% -0.06%
==========================================
Files 44 44
Lines 24282 24283 +1
==========================================
- Hits 22054 22042 -12
- Misses 2228 2241 +13
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Seems like this got the bindings a bit closer to the underlying Rust code, which is nice
Merging with one ACK since the full non-bindings diff is a trivial -3+3. |
Slowly but surely, bindings updates for PRs are getting smaller and smaller...