From 5493afbf674db4a0fdcf9270ccfbbf39ac2d1559 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Sat, 11 May 2024 12:29:46 +0800 Subject: [PATCH] web ffigen config --- dart_filament/ffigen/web.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dart_filament/ffigen/web.yaml b/dart_filament/ffigen/web.yaml index 7b08c9f8..7f322225 100644 --- a/dart_filament/ffigen/web.yaml +++ b/dart_filament/ffigen/web.yaml @@ -4,21 +4,25 @@ headers: - '../native/web/include/FlutterFilamentWebApi.h' - '../native/include/DartFilamentFFIApi.h' - '../native/include/DartFilamentApi.h' + - '../native/include/ResourceBuffer.h' include-directives: - '../native/web/include/FlutterFilamentWebApi.h' - '../native/include/DartFilamentFFIApi.h' - '../native/include/DartFilamentApi.h' + - '../native/include/ResourceBuffer.h' compiler-opts: - "-D__EMSCRIPTEN__" structs: + dependency-only: opaque exclude: - '.*' unions: + dependency-only: opaque exclude: - '.*' globals: exclude: - '.*' ffi-native: - assetId: package:dart_filament/dart_filament.dart + assetId: dart_filament ignore-source-errors: true