-
Notifications
You must be signed in to change notification settings - Fork 277
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
[feature] #2536: Introduce ffi_import
for FFI clients
#2557
Conversation
f9cf8a0
to
df1c26b
Compare
Codecov Report
@@ Coverage Diff @@
## iroha2-dev #2557 +/- ##
==============================================
- Coverage 67.61% 65.84% -1.77%
==============================================
Files 140 156 +16
Lines 26173 28135 +1962
==============================================
+ Hits 17696 18525 +829
- Misses 8477 9610 +1133
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
9703fd1
to
f571dd6
Compare
f5475ab
to
6ca495b
Compare
c5884cc
to
607af90
Compare
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
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, it's a bit inconvenient that we have to import alloc
everywhere, but I think we could live with that.
…nts (hyperledger-iroha#2557) Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
…nts (hyperledger-iroha#2557) Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
…nts (hyperledger-iroha#2557) Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
…nts (hyperledger-iroha#2557) Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
…nts (hyperledger-iroha#2557) Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
…nts (hyperledger-iroha#2557) Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
…nts (hyperledger-iroha#2557) Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
…nts (hyperledger-iroha#2557) Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
Signed-off-by: Marin Veršić marin.versic101@gmail.com
Description of the Change
ffi_import
andffi_export
features foriroha_data_model
andiroha_crypto
ffi!
macro that convert the wrapped struct into opaque pointerTryFromFfi
->TryFromReprC
ffi
crateno_std
NOTE
To make the change manageable, this PR only introduces the
ffi_import
flag. The flag does not expand to completely valid code yet and is commented out. This is expected to be completed with #2231 . I'm trying to get this merged so that @Erigara and I don't step on each other's toes anymoreIssue