Dart_NativeEntrySymbol typedef

Dart_NativeEntrySymbol = Pointer<NativeFunction<Pointer<Uint8> Function(Dart_NativeFunction nf)>>

Native entry symbol lookup callback.

For libraries and scripts which have native functions, the embedder can provide a callback for mapping a native entry to a symbol. This callback maps a native function entry PC to the native function name. If no native entry symbol can be found, the callback should return NULL.

The parameters to the native reverse resolver function are: \param nf A Dart_NativeFunction.

\return A const UTF-8 string containing the symbol name or NULL.

See Dart_SetNativeResolver.

Implementation

typedef Dart_NativeEntrySymbol = ffi.Pointer<ffi.NativeFunction<ffi.Pointer<ffi.Uint8> Function(Dart_NativeFunction nf)>>;