]> mj.ucw.cz Git - libucw.git/blobdiff - lib/binheap-node.h
XML: Fixed reporting of characters via the PULL interface.
[libucw.git] / lib / binheap-node.h
index da03a800de33412b4d4aa1efc30933f063a88596..44be9f4e656ab297cf4f8de8b3a9838cdff5f37b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Library -- Binomial Heaps: Declarations
+ *     UCW Library -- Binomial Heaps: Declarations
  *
  *     (c) 2003 Martin Mares <mj@ucw.cz>
  *
@@ -7,16 +7,13 @@
  *     of the GNU Lesser General Public License.
  */
 
-#define BH_NODE struct BH_PREFIX(node)
-#define BH_HEAP struct BH_PREFIX(heap)
-
-BH_NODE {
-  BH_NODE *first_son;
-  BH_NODE *last_son;
-  BH_NODE *next_sibling;
+struct bh_node {
+  struct bh_node *first_son;
+  struct bh_node *last_son;
+  struct bh_node *next_sibling;
   byte order;
 };
 
-BH_HEAP {
-  BH_NODE root;
+struct bh_heap {
+  struct bh_node root;
 };