7d467e8933
This makes it more closely mirror the Dart_NativeEntryResolver, and acts as an extra sanity check that signatures (roughly) align between the FfiNative decl. and the native function. TEST=Updated runtime/vm/dart_api_impl_test.cc Change-Id: I40799dc583ec14db14dc453afed4e2d1eb06fced Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212566 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Daco Harkes <dacoharkes@google.com>