Expand description
C-ABI FFI contract for dev-mode audio processing.
This module defines the shared interface between the wavecraft_plugin! macro
(which generates FFI exports in the user’s cdylib) and the CLI consumer
(wavecraft start) that loads and calls them.
§Design Principles
#[repr(C)]struct withextern "C"function pointers for ABI stability*mut c_voidinstance pointers for type erasure across the dylib boundary- Version field for forward-compatible ABI evolution
- All memory alloc/dealloc stays inside the dylib (no cross-allocator issues)
Structs§
- DevProcessorV
Table - C-ABI stable vtable for dev-mode audio processing.
Constants§
- DEV_
PROCESSOR_ SYMBOL - FFI symbol name exported by
wavecraft_plugin!macro. - DEV_
PROCESSOR_ VTABLE_ VERSION - Current vtable version. Increment on breaking changes.