mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![Daco Harkes](/assets/img/avatar_default.png)
Closes: https://github.com/dart-lang/sdk/issues/43600. TEST=samples/ffi Change-Id: I620e6a73c8e37dd72f8f3921fa37dd4f8966e45c Cq-Include-Trybots: luci.dart.try:vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,app-kernel-linux-debug-x64-try,vm-kernel-linux-debug-x64-try,vm-kernel-reload-linux-debug-x64-try,vm-kernel-reload-rollback-linux-debug-x64-try,vm-kernel-precomp-linux-debug-x64-try,dart-sdk-linux-try,analyzer-nnbd-linux-release-try,analyzer-linux-release-try,front-end-nnbd-linux-release-x64-try,front-end-linux-release-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/173542 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Aske Simon Christensen <askesc@google.com>
29 lines
1,022 B
Dart
29 lines
1,022 B
Dart
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
//
|
|
// This file exercises the sample files so that they are tested.
|
|
//
|
|
// SharedObjects=ffi_test_dynamic_library ffi_test_functions
|
|
|
|
import 'sample_ffi_bitfield.dart' as bitfield;
|
|
import 'sample_ffi_data.dart' as data;
|
|
import 'sample_ffi_dynamic_library.dart' as dynamic_library;
|
|
import 'sample_ffi_functions_callbacks_closures.dart'
|
|
as functions_callbacks_closures;
|
|
import 'sample_ffi_functions_callbacks.dart' as functions_callbacks;
|
|
import 'sample_ffi_functions_structs.dart' as functions_structs;
|
|
import 'sample_ffi_functions.dart' as functions;
|
|
import 'sample_ffi_structs.dart' as structs;
|
|
|
|
main() {
|
|
bitfield.main();
|
|
data.main();
|
|
dynamic_library.main();
|
|
functions_callbacks_closures.main();
|
|
functions_callbacks.main();
|
|
functions_structs.main();
|
|
functions.main();
|
|
structs.main();
|
|
}
|