[][src]Type Definition dart_sys::Dart_NativeEntrySymbol

type Dart_NativeEntrySymbol = Option<unsafe extern "C" fn(nf: Dart_NativeFunction) -> *const u8>;

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.