pub type Dart_FileCloseCallback = Option<unsafe extern "C" fn(stream: *mut c_void)>;
Expand description

Closes the opened file.

Callback provided by the embedder for file operations. If the embedder does not allow file operations this callback can be NULL.

\param stream Handle to the opened file.

Aliased Type§

enum Dart_FileCloseCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void))

Some value of type T.