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

dart-lang / ffigen / 4364636722

pending completion
4364636722

Pull #527

github

GitHub
Merge 984472b2c into 1ac20ffd5
Pull Request #527: Bump dependencies and fix lints

21 of 21 new or added lines in 10 files covered. (100.0%)

3188 of 3452 relevant lines covered (92.35%)

24.67 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._();
52✔
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