web ffigen config

This commit is contained in:
Nick Fisher
2024-05-11 12:29:46 +08:00
parent 2c6e953b4b
commit 5493afbf67

View File

@@ -4,21 +4,25 @@ headers:
- '../native/web/include/FlutterFilamentWebApi.h' - '../native/web/include/FlutterFilamentWebApi.h'
- '../native/include/DartFilamentFFIApi.h' - '../native/include/DartFilamentFFIApi.h'
- '../native/include/DartFilamentApi.h' - '../native/include/DartFilamentApi.h'
- '../native/include/ResourceBuffer.h'
include-directives: include-directives:
- '../native/web/include/FlutterFilamentWebApi.h' - '../native/web/include/FlutterFilamentWebApi.h'
- '../native/include/DartFilamentFFIApi.h' - '../native/include/DartFilamentFFIApi.h'
- '../native/include/DartFilamentApi.h' - '../native/include/DartFilamentApi.h'
- '../native/include/ResourceBuffer.h'
compiler-opts: compiler-opts:
- "-D__EMSCRIPTEN__" - "-D__EMSCRIPTEN__"
structs: structs:
dependency-only: opaque
exclude: exclude:
- '.*' - '.*'
unions: unions:
dependency-only: opaque
exclude: exclude:
- '.*' - '.*'
globals: globals:
exclude: exclude:
- '.*' - '.*'
ffi-native: ffi-native:
assetId: package:dart_filament/dart_filament.dart assetId: dart_filament
ignore-source-errors: true ignore-source-errors: true