ffi_tool.c library

Generates 'dart:ffi' bindings for C libraries.

Classes

DartSourceWriter
Element
Field
Func
A definition for C function.
Global
A definition for a C global.
ImportedUri
Describes an imported Dart package.
Library
A definition for a C library.
Parameter
Struct
A definition for a C struct. [...]

Functions

generateFile(File file, Library library, {bool format: true}) → void
Generates file by generating C bindings for library. If format is true 'dartfmt -w $PATH' will be run to format the generated file.