You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment iroha_ffi converts arrays into pointers when generating extern functions to follow the C convention of passing arrays by pointer. An alternative would be to wrap an array into a structure in which case it would be passed as a value. I don't think that we should change the current behavior but it's worth opening a discussion about it
The text was updated successfully, but these errors were encountered:
At the moment
iroha_ffi
converts arrays into pointers when generatingextern
functions to follow the C convention of passing arrays by pointer. An alternative would be to wrap an array into a structure in which case it would be passed as a value. I don't think that we should change the current behavior but it's worth opening a discussion about itThe text was updated successfully, but these errors were encountered: