YAP 7.1.0
Implementation of Blobs

Detailed Description

Macro Definition Documentation

◆ _WITH_DPRINTF

#define _WITH_DPRINTF

Definition at line 25 of file blobs.c.

Function Documentation

◆ YAP_blob_data()

void * YAP_blob_data ( YAP_Atom  at,
size_t *  len,
blob_type_t **  type 
)

Definition at line 215 of file blobs.c.

◆ Yap_blob_to_string()

char * Yap_blob_to_string ( AtomEntry ref,
const char *  s0,
size_t  sz 
)

Definition at line 32 of file blobs.c.

◆ YAP_find_blob_type()

blob_type_t * YAP_find_blob_type ( const char *  name)

Definition at line 237 of file blobs.c.

◆ YAP_get_blob()

bool YAP_get_blob ( Term  t,
void **  blob,
size_t *  len,
blob_type_t **  type 
)

Definition at line 191 of file blobs.c.

◆ Yap_install_blobs()

void Yap_install_blobs ( void  )

Definition at line 250 of file blobs.c.

◆ YAP_is_blob()

bool YAP_is_blob ( Term  t,
blob_type_t **  type 
)

Definition at line 94 of file blobs.c.

◆ Yap_lookupBlob()

AtomEntry * Yap_lookupBlob ( void *  blob,
size_t  len,
void *  type0,
int *  new 
)

Definition at line 124 of file blobs.c.

◆ YAP_register_blob_type()

void YAP_register_blob_type ( blob_type_t type)

Definition at line 232 of file blobs.c.

◆ YAP_unify_blob()

bool YAP_unify_blob ( Term *  t,
void *  blob,
size_t  len,
blob_type_t type 
)

Definition at line 175 of file blobs.c.

◆ YAP_unregister_blob_type()

bool YAP_unregister_blob_type ( blob_type_t type)

Definition at line 245 of file blobs.c.

◆ Yap_write_blob()

int Yap_write_blob ( AtomEntry ref,
FILE *  stream 
)

Definition at line 76 of file blobs.c.

Functions

char * Yap_blob_to_string (AtomEntry *ref, const char *s0, size_t sz)
 
int Yap_write_blob (AtomEntry *ref, FILE *stream)
 
bool YAP_is_blob (Term t, blob_type_t **type)
 
AtomEntryYap_lookupBlob (void *blob, size_t len, void *type0, int *new)
 
bool YAP_unify_blob (Term *t, void *blob, size_t len, blob_type_t *type)
 
bool YAP_get_blob (Term t, void **blob, size_t *len, blob_type_t **type)
 
void * YAP_blob_data (YAP_Atom at, size_t *len, blob_type_t **type)
 
void YAP_register_blob_type (blob_type_t *type)
 
blob_type_tYAP_find_blob_type (const char *name)
 
bool YAP_unregister_blob_type (blob_type_t *type)
 
void Yap_install_blobs (void)