Type Alias dart_sys::Dart_FileWriteCallback
source · pub type Dart_FileWriteCallback = Option<unsafe extern "C" fn(data: *const c_void, length: isize, stream: *mut c_void)>;
Expand description
Write data into file.
Callback provided by the embedder for file operations. If the embedder does not allow file operations this callback can be NULL.
\param data Buffer which needs to be written into the file. \param length Length of the buffer. \param stream Handle to the opened file.
Aliased Type§
enum Dart_FileWriteCallback {
None,
Some(unsafe extern "C" fn(_: *const c_void, _: isize, _: *mut c_void)),
}