ceptr
|
implementation of scapes More...
#include "scape.h"
Go to the source code of this file.
Functions | |
Scape * | _s_new (Symbol key_source, Symbol data_source) |
void | scapedataFree (ScapeData *i) |
void | _s_free (Scape *s) |
void | _s_add (Scape *s, TreeHash h, Xaddr x) |
Xaddr | _s_get (Scape *s, TreeHash h) |
implementation of scapes
Definition in file scape.c.
add a new element into a scape
[in] s the scape [in] h a hash of the tree node which is the key [in] xaddr the instance address to be scaped
Examples (from test suite):
void _s_free | ( | Scape * | s | ) |
retrieve an Xaddr from the scape
[in] s the scape [in] key the tree node which is the key
Examples (from test suite):
create a new scape
[in] key_source the symbol type key hashes are of [in] data_source the symbol type of xaddrs to be associated with keys
Examples (from test suite):