Dart_FileOpenCallback typedef

Dart_FileOpenCallback = Pointer<NativeFunction<Pointer<Void> Function(Pointer<Char> name, Bool write)>>

Opens a file for reading or writing.

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

\param name The name of the file to open. \param write A boolean variable which indicates if the file is to opened for writing. If there is an existing file it needs to truncated.

Implementation

typedef Dart_FileOpenCallback = ffi.Pointer<ffi.NativeFunction<ffi.Pointer<ffi.Void> Function(ffi.Pointer<ffi.Char> name, ffi.Bool write)>>;