ncn - n-Tree cell node
Module Description
The ncn module implements a node in a n-tree [nct] that stores a cell value.
Module Words
Node structure
ncn%
( -- n )
Get the required space for a ncn node
Node creation, initialisation and destruction
ncn-init
( x ncn -- )
Initialise the node with data x
ncn-new
( x -- ncn )
Create a new node on the heap with data x
ncn-free
( ncn -- )
Free the node from the heap
Members words
ncn-cell@
( ncn -- x )
Get the cell data from the node
ncn-cell!
( x ncn -- )
Set the cell data x in the node
Inspection
ncn-dump
( ncn -- )
Dump the node
generated 10-Apr-2008 by
ofcfrth-0.5.0