dart-sdk/samples/ffi
Daco Harkes 14e4a52657 [vm] Fix Dart_CObject_Type breaking change
https://dart-review.googlesource.com/c/sdk/+/257925 added a new entry
in the middle of the `Dart_CObject_Type` enum, which changed the
value of the entries below. However, this enum is part of
`dart_api_dl.h` and versioned by `dart_version.h`.

New entries to `Dart_CObject_Type` should be added at the end of the
enum to avoid making breaking changes to the type.

TEST=tests/ffi/vmspecific_handle_dynamically_linked_test.dart

Bug: https://github.com/dart-lang/sdk/issues/51459

Change-Id: I367b54f62e59ddf925e255bb56c0f8660be7c227
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/284161
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2023-02-20 11:59:19 +00:00
..
async [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
resource_management Fix grammar 2022-11-21 20:07:29 +00:00
sqlite Spelling samples 2023-01-09 17:44:29 +00:00
coordinate.dart [vm/ffi] Migrate off .addressOf in samples 2021-01-28 21:32:55 +00:00
dylib_utils.dart [vm/ffi] Fuchsia FFI testing package 2020-12-10 12:15:17 +00:00
sample_ffi_bitfield.dart Spelling samples 2023-01-09 17:44:29 +00:00
sample_ffi_data.dart Fix typos 2022-06-15 11:08:28 +00:00
sample_ffi_dynamic_library.dart [samples] Migrate ffi samples to NNBD 2020-11-24 18:50:28 +00:00
sample_ffi_functions.dart [VM/FFI] Adds FFI leaf calls. 2021-05-21 11:12:02 +00:00
sample_ffi_functions_callbacks.dart Reland "[vm/ffi] Roll package:ffi to Allocator and Opaque" 2021-02-10 10:19:28 +00:00
sample_ffi_functions_callbacks_closures.dart [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
sample_ffi_functions_structs.dart Fixed various typos in a lot of files 2022-07-25 12:21:59 +00:00
sample_ffi_structs.dart Reland "[vm/ffi] Roll package:ffi to Allocator and Opaque" 2021-02-10 10:19:28 +00:00
samples_test.dart [samples] Migrate ffi samples to NNBD 2020-11-24 18:50:28 +00:00