dcn - Double Linked Cell List Node

Module Description

The dcn module implements a node in a dcl list.

Module Words

Node structure

dcn% ( -- n )
Get the required space for a dcn node

Node creation, initialisation and destruction

dcn-init ( x dcn -- )
Initialise the node with data x

dcn-new ( x -- dcn )
Create a new node on the heap with data x

dcn-free ( dcn -- )
Free the node from the heap

Members words

dcn-cell@ ( dcn -- x )
Get the cell data x from the node

dcn-cell! ( x dcn -- )
Set the cell data x in the node

Inspection

dcn-dump ( dcn -- )
Dump the node


generated 10-Apr-2008 by ofcfrth-0.5.0