wnbtrl3
Create sorted tree for common kinds of keys
Usage
#include <wn/wnbtrl.h> void wn_mkstrbtree(wn_btree *tree) void wn_mkintbtree(wn_btree *tree) void wn_mkdoublebtree(wn_btree *tree)
Overview
wn_mkstrbtree allocates a sorted tree indexed by null-terminated char strings (from the current memory group).
wn_mkintbtree allocates a sorted tree indexed by int keys.
wn_mkdoublebtree allocates a sorted tree indexed by double keys. A <double> is a long floating-point number. You should pass <&number> rather than just "number" as the key.
Releases
5 releases since Debian 2.1 (Slink); the text changed 1 time.