pub fn create_blob_definition(
    name: &'static [u8],
    text: bool,
    unique: bool,
    nocopy: bool,
    acquire: Option<unsafe extern "C" fn(a: atom_t)>,
    release: Option<unsafe extern "C" fn(a: atom_t) -> c_int>,
    compare: Option<unsafe extern "C" fn(a: atom_t, b: atom_t) -> c_int>,
    write: Option<unsafe extern "C" fn(s: *mut IOSTREAM, a: atom_t, flags: c_int) -> c_int>,
    save: Option<unsafe extern "C" fn(a: atom_t, s: *mut IOSTREAM) -> c_int>,
    load: Option<unsafe extern "C" fn(s: *mut IOSTREAM) -> atom_t>
) -> PL_blob_t
Expand description

Create a blob definition for use with the SWI-Prolog fli out of the given components.

This is used by the various blob macros. You’ll almost never have to use this directly.