blob: 831a166414817970b9470281d0e6bad5d1a039d8 [file] [log] [blame] [edit]
# Run with `flutter pub run ffigen --config ffigen.yaml`.
name: NativeAddBindings
description: |
Bindings for `src/use_rust.h`.
Regenerate bindings with `flutter pub run ffigen --config ffigen.yaml`.
output: "lib/src/use_rust_bindings_generated.dart"
headers:
entry-points:
- "src/use_rust.h"
include-directives:
- "src/use_rust.h"
preamble: |
// Copyright (c) 2023, 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.
comments:
style: any
length: full
ffi-native: