-
Notifications
You must be signed in to change notification settings - Fork 14
/
ffigen_onnxruntime.yaml
29 lines (28 loc) · 1.08 KB
/
ffigen_onnxruntime.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Run with `flutter pub run ffigen --config ffigen.yaml`.
name: OnnxRuntimeBindings
description: |
Bindings for `src/onnxruntime/onnxruntime_c_api.h`.
Regenerate bindings with `flutter pub run ffigen --config ffigen_onnxruntime.yaml`.
output: 'lib/src/bindings/onnxruntime_bindings_generated.dart'
headers:
entry-points:
- 'src/onnxruntime/coreml_provider_factory.h'
- 'src/onnxruntime/cpu_provider_factory.h'
- 'src/onnxruntime/nnapi_provider_factory.h'
- 'src/onnxruntime/onnxruntime_c_api.h'
- 'src/onnxruntime/onnxruntime_cxx_api.h'
- 'src/onnxruntime/onnxruntime_cxx_inline.h'
include-directives:
- 'src/onnxruntime/coreml_provider_factory.h'
- 'src/onnxruntime/cpu_provider_factory.h'
- 'src/onnxruntime/nnapi_provider_factory.h'
- 'src/onnxruntime/onnxruntime_c_api.h'
- 'src/onnxruntime/onnxruntime_cxx_api.h'
- 'src/onnxruntime/onnxruntime_cxx_inline.h'
preamble: |
// ignore_for_file: always_specify_types
// ignore_for_file: camel_case_types
// ignore_for_file: non_constant_identifier_names
comments:
style: any
length: full