[][src]Function dart_sys::Dart_SetPersistentHandle

pub unsafe extern "C" fn Dart_SetPersistentHandle(
    obj1: Dart_PersistentHandle,
    obj2: Dart_Handle
)

Assign value of local handle to a persistent handle.

Requires there to be a current isolate.

\param obj1 A persistent handle whose value needs to be set. \param obj2 An object whose value needs to be set to the persistent handle.

\return Success if the persistent handle was set Otherwise, returns an error.