Beispiel #1
0
BT_ERROR BT_CacheFree(BT_CACHE *pCache, void *p) {
	SLAB_LOCK(pCache);
	struct block_free *free = (struct block_free *) p;
	push_free(pCache, free);
	SLAB_UNLOCK(pCache);
	return BT_ERR_NONE;
}
Beispiel #2
0
static BT_ERROR BT_CacheFree(BT_CACHE *pCache, void *p) {
	struct block_free *free = (struct block_free *) p;
	push_free(pCache, free);
	return BT_ERR_NONE;
}
Beispiel #3
0
Datei: memory.c Projekt: 8l/SECD
cell_t *free_cell(secd_t *secd, cell_t *c) {
    push_free(secd, drop_dependencies(secd, c));
    return SECD_NIL;
}