LibDocument

image-alt

Document and Trie Processing.


ldoc_nde_qstk_t Struct Reference

Version: 0.1.1

Node quick-stack for efficiently handing node allocations/deallocations. More...

#include <document.h>

Public Attributes

size_t rptr
 
size_t wptr
 
size_t max
 
size_t inc
 
ldoc_nde_t ** nds
 

Detailed Description

Node quick-stack for efficiently handing node allocations/deallocations.

rptr points to a node, if unequal to wptr, or the empty stack otherwise (rptr equals wptr). wptr always points to an empty node.

Member Data Documentation

size_t ldoc_nde_qstk_t::inc

Increment size in which the stack is being increased.

size_t ldoc_nde_qstk_t::max

Maximum size of the stack.

ldoc_nde_t** ldoc_nde_qstk_t::nds

Array of node pointers (the actual stack).

size_t ldoc_nde_qstk_t::rptr

Read pointer.

size_t ldoc_nde_qstk_t::wptr

Write pointer.


The documentation for this struct was generated from the following file: