Dart callback type definition
typedef VADEventCallback = void Function(ffi.Pointer<VADEvent> event, ffi.Pointer<ffi.Void> user_data);