ffi_backend_spi library
SPI for dart_monty_ffi backend internals.
Import this library only from sibling monorepo packages
(e.g. dart_monty_native). Application code should import
package:dart_monty_ffi/dart_monty_ffi.dart instead.
Classes
- FfiCoreBindings
-
Adapts NativeBindings (sync, int handles, RunResult/ProgressResult)
to the
MontyCoreBindingsinterface (async,CoreRunResult/CoreProgressResult). - NativeBindings
- Abstract interface over the 17 native C functions.
- NativeBindingsFfi
- Real FFI implementation of NativeBindings.
- NativeIsolateBindings
- Abstract interface over the native Isolate bridge.
- NativeIsolateBindingsImpl
- Real NativeIsolateBindings implementation backed by a background Isolate.
- ProgressResult
- Result of NativeBindings.start, NativeBindings.resume, and NativeBindings.resumeWithError.
- RunResult
- Result of NativeBindings.run.