X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fbinheap-node.h;h=c0cb16bc411d81577559b3ba9f25453c65954b64;hb=bc2bbfcbe76e78db9cde27455ddbcfe1ddcc61d6;hp=44be9f4e656ab297cf4f8de8b3a9838cdff5f37b;hpb=031256ad2e123eec58521f8e3eb9496c197641d2;p=libucw.git diff --git a/ucw/binheap-node.h b/ucw/binheap-node.h index 44be9f4e..c0cb16bc 100644 --- a/ucw/binheap-node.h +++ b/ucw/binheap-node.h @@ -7,6 +7,18 @@ * of the GNU Lesser General Public License. */ +#ifndef _UCW_BINHEAP_NODE_H +#define _UCW_BINHEAP_NODE_H + +/*** + * [[common]] + * Common definitions + * ------------------ + ***/ + +/** + * Common header of binomial heap nodes. + **/ struct bh_node { struct bh_node *first_son; struct bh_node *last_son; @@ -14,6 +26,11 @@ struct bh_node { byte order; }; +/** + * A binomial heap. + **/ struct bh_heap { struct bh_node root; }; + +#endif