diff --git a/pkgs/ffigen/lib/ffigen.dart b/pkgs/ffigen/lib/ffigen.dart index aa1f364e5..23fc43a1d 100644 --- a/pkgs/ffigen/lib/ffigen.dart +++ b/pkgs/ffigen/lib/ffigen.dart @@ -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 diff --git a/pkgs/ffigen/lib/src/code_generator.dart b/pkgs/ffigen/lib/src/code_generator.dart index 0197d5c04..6a1a3552c 100644 --- a/pkgs/ffigen/lib/src/code_generator.dart +++ b/pkgs/ffigen/lib/src/code_generator.dart @@ -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'; diff --git a/pkgs/ffigen/lib/src/code_generator/func_type.dart b/pkgs/ffigen/lib/src/code_generator/func_type.dart index f0c6d9b9e..431ebd34f 100644 --- a/pkgs/ffigen/lib/src/code_generator/func_type.dart +++ b/pkgs/ffigen/lib/src/code_generator/func_type.dart @@ -136,7 +136,7 @@ class FunctionType extends Type { } } -/// Represents a NativeFunction. +/// Represents a `NativeFunction`. class NativeFunc extends Type { // Either a FunctionType or a Typealias of a FunctionType. final Type _type; diff --git a/pkgs/ffigen/lib/src/config_provider.dart b/pkgs/ffigen/lib/src/config_provider.dart index 8feb6fe89..dbf573169 100644 --- a/pkgs/ffigen/lib/src/config_provider.dart +++ b/pkgs/ffigen/lib/src/config_provider.dart @@ -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'; diff --git a/pkgs/ffigen/lib/src/header_parser.dart b/pkgs/ffigen/lib/src/header_parser.dart index 92df4ac52..d4f8b623e 100644 --- a/pkgs/ffigen/lib/src/header_parser.dart +++ b/pkgs/ffigen/lib/src/header_parser.dart @@ -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; diff --git a/pkgs/ffigen/lib/src/header_parser/utils.dart b/pkgs/ffigen/lib/src/header_parser/utils.dart index 42b22663c..2e4cacaf7 100644 --- a/pkgs/ffigen/lib/src/header_parser/utils.dart +++ b/pkgs/ffigen/lib/src/header_parser/utils.dart @@ -430,7 +430,7 @@ class Stack { class IncrementalNamer { final _incrementedStringCounters = {}; - /// Appends `` to base. is incremented on every call. + /// Appends `` to base. `` is incremented on every call. String name(String base) { var i = _incrementedStringCounters[base] ?? 0; i++;