Type Alias dart_sys::Dart_NativeEntrySymbol
source · pub type Dart_NativeEntrySymbol = Option<unsafe extern "C" fn(nf: Dart_NativeFunction) -> *const u8>;
Expand description
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.
Aliased Type§
enum Dart_NativeEntrySymbol {
None,
Some(unsafe extern "C" fn(_: Option<unsafe extern "C" fn(_: *mut _Dart_NativeArguments)>) -> *const u8),
}