• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / ffigen / 5971795586

25 Aug 2023 04:14AM UTC coverage: 92.379% (+0.05%) from 92.332%
5971795586

Pull #599

github

web-flow
Merge 56e68727a into daa06036c
Pull Request #599: Bump CI SDK version to 3.1.0

1 of 1 new or added line in 1 file covered. (100.0%)

3576 of 3871 relevant lines covered (92.38%)

28.41 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/lib/src/code_generator/handle.dart
1
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4

5
import 'package:ffigen/src/code_generator.dart';
6

7
import 'writer.dart';
8

9
/// Represents a Dart_Handle.
10
class HandleType extends Type {
11
  const HandleType._();
55✔
12
  static const _handle = HandleType._();
13
  factory HandleType() => _handle;
1✔
14

15
  @override
1✔
16
  String getCType(Writer w) => '${w.ffiLibraryPrefix}.Handle';
2✔
17

18
  @override
1✔
19
  String getDartType(Writer w) => 'Object';
20

21
  @override
×
22
  String toString() => 'Handle';
23
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc