ffigen 0.1.1 copy "ffigen: ^0.1.1" to clipboard
ffigen: ^0.1.1 copied to clipboard

outdated

Experimental generator for FFI bindings, using LibClang to parse C/C++ header files.

0.1.1 #

  • Address pub score: follow dart File conventions, provide documentation, and pass static analysis.

0.1.0 #

  • Support for Functions, Structs and Enums.
  • Glob support for specifying headers.
  • HeaderFilter - Include/Exclude declarations from specific header files using name matching.
  • Filters - Include/Exclude function, structs and enum declarations using Regexp or Name matching.
  • Prefixing - function, structs and enums can have a global prefix. Individual prefix Replacement support using Regexp.
  • Comment extraction: full/brief/none
  • Support for fixed size arrays in struct. array-workaround (if enabled) will generate helpers for accessing fixed size arrays in structs.
  • Size for ints can be specified using size-map in config.
  • Options to disable using supported typedefs (e.g uint8_t => Uint8), sort bindings.
  • Option to add a raw preamble which is included as is in the generated file.
262
likes
0
pub points
95%
popularity

Publisher

verified publishertools.dart.dev

Experimental generator for FFI bindings, using LibClang to parse C/C++ header files.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, ffi, glob, logging, meta, path, yaml

More

Packages that depend on ffigen