Skip to content

Commit cc90d34

Browse files
authored
[ffi] Export leaked types (dart-lang#3081)
This is causing flags on Dart API Tool runs. We should just export them.
1 parent 1bd5bb8 commit cc90d34

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎pkgs/ffi/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.2.0
2+
3+
- Export leaked types.
4+
15
## 2.1.5
26

37
- Update to the latest lints.

‎pkgs/ffi/lib/ffi.dart‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
export 'src/allocation.dart' show calloc, malloc;
5+
export 'src/allocation.dart'
6+
show CallocAllocator, MallocAllocator, calloc, malloc;
67
export 'src/arena.dart';
78
export 'src/utf16.dart';
89
export 'src/utf8.dart';

‎pkgs/ffi/pubspec.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ffi
2-
version: 2.1.5
2+
version: 2.2.0
33
description: Utilities for working with Foreign Function Interface (FFI) code.
44
repository: https://github.com/dart-lang/native/tree/main/pkgs/ffi
55
issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Affi

0 commit comments

Comments
 (0)