blob: ec4c884f7fc700e5f0b10c5510f853069f08a2bc [file]
# Run with `dart run ffigen --config ffigen.yaml`.
name: NativeCalcBindings
description: |
Bindings for `src/native_add.h` and `src/native_multiply.h`.
Regenerate bindings with `dart run ffigen --config ffigen.yaml`.
output: "lib/src/treeshaking_native_libs_bindings_generated.dart"
headers:
entry-points:
- "src/native_add.h"
- "src/native_multiply.h"
include-directives:
- "src/native_add.h"
- "src/native_multiply.h"
preamble: |
// Copyright (c) 2024, 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: