Function swipl::blob::get_arc_from_term

source ·
pub unsafe fn get_arc_from_term<T>(
    term: &Term<'_>,
    blob_definition: &'static PL_blob_t
) -> Option<Arc<T>>
Expand description

Retrieve an arc from the given term, using the given blob definition.

This is used from the arc blob macros.

Safety

This is unsafe cause no attempt is made to ensure that the blob definition matches the given data.