-
Notifications
You must be signed in to change notification settings - Fork 405
Pre-0.0.103 Bindings Tweaks #1150
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
Pre-0.0.103 Bindings Tweaks #1150
Conversation
ffd5518
to
1ca01a2
Compare
Codecov Report
@@ Coverage Diff @@
## main #1150 +/- ##
==========================================
- Coverage 90.14% 90.14% -0.01%
==========================================
Files 70 70
Lines 36384 36386 +2
==========================================
+ Hits 32800 32801 +1
- Misses 3584 3585 +1
Continue to review full report at Codecov.
|
ACK 1ca01a2 mod CI |
1ca01a2
to
b2e37c3
Compare
Oops, pushed a fixup commit for fuzzing and reordered the commits so things are correct. |
b2e37c3
to
89c602c
Compare
This also differentiates it from the bindings default-constructed `new` method which is constructed when all fields are exposed and of mappable types.
The bindings don't currently support passing `Vec`s of objects which it mappes as "opaque types". This is because it will require clones to convert its own list of references to Rust's list of objects. In the near future we should resolve this limitation, allowing us to revert this (and make `find_route`'s method signature similarly cleaner), but for now we must avoid `Vec<OpaqueType>`.
This matches the other `Payee` move-modifier functions.
This prepares us for C bindings auto-exporting tuple type fields.
89c602c
to
0c1b70c
Compare
Rebased on latest upstream and squashed. |
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.
ACK if CI's happy :)
Some trivial tweaks and
(C-not exported)
tags for bindings for 0.0.103, as well as some rustc warnings fixes for good measure.