Dart_FileOpenCallback typedef
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<Dart_FileOpenCallbackFunction>>;