Skip to content

Commit

Permalink
Fixed issues in ffigen
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Lesches committed Jan 13, 2025
1 parent 58df689 commit 6d1fb6b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/ffigen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
///
/// For most use cases the YAML based API is simpler. See
/// https://pub.dev/packages/ffigen for details.
library ffigen;
library;

export 'src/config_provider.dart'
show
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/code_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

/// Generates FFI bindings for a given Library.
library code_generator;
library;

export 'code_generator/binding.dart';
export 'code_generator/compound.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/code_generator/func_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class FunctionType extends Type {
}
}

/// Represents a NativeFunction<Function>.
/// Represents a `NativeFunction<Function>`.
class NativeFunc extends Type {
// Either a FunctionType or a Typealias of a FunctionType.
final Type _type;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/config_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

/// Creates config object used by other sub_modules.
library config_provider;
library;

export 'config_provider/config.dart';
export 'config_provider/config_types.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/header_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
/// Generates a Library (code_generator)
///
/// Parses the header files AST using clang_bindings.
library header_parser;
library;

export 'header_parser/parser.dart' show parse;
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/header_parser/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ class Stack<T> {
class IncrementalNamer {
final _incrementedStringCounters = <String, int>{};

/// Appends `<int>` to base. <int> is incremented on every call.
/// Appends `<int>` to base. `<int>` is incremented on every call.
String name(String base) {
var i = _incrementedStringCounters[base] ?? 0;
i++;
Expand Down

0 comments on commit 6d1fb6b

Please sign in to comment.