[][src]Function dart_sys::Dart_LoadLibraryFromKernel

pub unsafe extern "C" fn Dart_LoadLibraryFromKernel(
    kernel_buffer: *const u8,
    kernel_buffer_size: isize
) -> Dart_Handle

Called by the embedder to load a partial program. Does not set the root library.

\param buffer A buffer which contains a kernel binary (see pkg/kernel/binary.md). Must remain valid until isolate shutdown. \param buffer_size Length of the passed in buffer.

\return A handle to the main library of the compilation unit, or an error.