ffigen library Errors
This is the Dart API for ffigen. The main entrypoint is the FfiGen class.
For most use cases the YAML based API is simpler. See https://pub.flutter-io.cn/packages/ffigen for details.
Classes
- BindingStyle
-
The style of
dart:ffi
bindings to generate. - Categories
- Configuration for Objective-C categories.
- CommentType
- Declaration
- DynamicLibraryBindings
- Generate bindings which take a DynamicLibrary or DynamicLibrary.lookup parameter.
- Enums
- Configuration for enum declarations.
- ExternalVersions
- FfiGenerator
-
The generator that generates bindings for
dart:ffi
from C and Objective-C headers. - Functions
- Configuration for function declarations.
- Globals
- Configuration for globals.
- Headers
- The configuration for header parsing of FfiGenerator.
- ImportedType
- An imported type which will be used in the generated code.
- Integers
- Configuration for integer types.
- Interfaces
- Configuration for Objective-C interfaces.
- LibraryImport
- A library import which will be written as an import in the generated file.
- Macros
- Configuration for macros.
- NativeExternalBindings
- Generate bindings with Native external functions.
- ObjectiveC
- Configuration for Objective-C.
- Output
- Configuration for outputting bindings.
- PackingValue
- Protocols
- Configuration for Objective-C protocols.
- Structs
- Configuration for struct declarations.
- SymbolFile
- Typedefs
- Configuration for typedefs.
- Unions
- Configuration for union declarations.
- UnnamedEnums
- Configuration for unnamed enum constants.
- VarArgFunction
- Versions
- YamlConfig
- Provides configurations to other modules.
Enums
Functions
-
defaultCompilerOpts(
Logger logger, {bool macIncludeStdLib = true}) → List< String>