| # Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file |
| # for details. All rights reserved. Use of this source code is governed by a |
| # BSD-style license that can be found in the LICENSE file. |
| |
| name: ffinative_example |
| |
| environment: |
| sdk: '>=2.17.0 <4.0.0' |
| |
| dependencies: |
| ffi: ^2.0.1 |
| dev_dependencies: |
| ffigen: |
| path: '../../' |
| lints: ^2.0.0 |
| |
| ffigen: |
| name: NativeLibrary |
| ffi-native: |
| # asset: 'assetname' # (optional) |
| description: Bindings to `headers/example.h`. |
| output: 'generated_bindings.dart' |
| headers: |
| entry-points: |
| - 'headers/example.h' |
| preamble: | |
| // ignore_for_file: deprecated_member_use |