blob: f463ce4589b0e412622d568126b679e193104907 [file] [edit]
# Run with `dart run ffigen --config ffigen.yaml`.
name: NativeAddBindings
description: |
Bindings for `src/libc_shim.h`.
Regenerate bindings with `dart run tool/generate.dart`.
output: 'lib/src/libc_bindings.g.dart'
headers:
entry-points:
- 'src/libc_shim.h'
include-directives:
- 'src/libc_shim.h'
preamble: |
// ignore_for_file: type=lint, unused_field
comments:
style: any
length: full
ffi-native:
asset-id: package:unix_api/libc_shim
structs:
rename:
'libc_shim_(.*)': '$1'
typedefs:
rename:
'libc_shim_(.*)': '$1'