Expand description
Functionality for calling Dart DL API from Rust.
Functions§
- delete_
persistent_ ⚠handle - Deallocates the provided
Dart_PersistentHandle. - get_
error ⚠ - Returns the error message from the provided Dart error handle.
- handle_
from_ ⚠persistent - Allocates a
Dart_Handlein the current scope from the givenDart_PersistentHandle. - initialize_
api ⚠ - Initializes usage of Dynamically Linked Dart API.
- is_
error ⚠ - Checks whether the provided
Dart_Handlerepresents a Dart error. - new_
finalizable_ ⚠handle - Allocates a finalizable handle for an object.
- new_
persistent_ ⚠handle - Allocates a
Dart_PersistentHandlefor providedDart_Handle. - post_
c_ ⚠object - Posts a
messageon some port. It will contain aDart_CObjectobject graph rooted in themessage. - propagate_
error ⚠ - Propagates the given Dart error to the Dart side.