-
Notifications
You must be signed in to change notification settings - Fork 279
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
Reduce primitives type set for Wasm in FFI #2511
Comments
After some discussion with @Erigara it is decided that only primitives |
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru> Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
…dger-iroha#2590) Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Wasm allows only a subset of C ABI compatbile datatypes. The types supported are 32-bit and 64-bit sized types. This means that a flag is needed to convert
u8
/i8
andu16
/i16
tou32
/i32
when building FFI API for wasm. This affects integers as function arguments or inside structures as well asrepr(int)
enums. A special care should be taken in handlingbool
type conversionThe text was updated successfully, but these errors were encountered: