[][src]Function dart_sys::Dart_NewPersistentHandle

pub unsafe extern "C" fn Dart_NewPersistentHandle(
    object: Dart_Handle
) -> Dart_PersistentHandle

Allocates a persistent handle for an object.

This handle has the lifetime of the current isolate unless it is explicitly deallocated by calling Dart_DeletePersistentHandle.

Requires there to be a current isolate.