Browse files

comments update

  • Loading branch information...
1 parent 4d15086 commit 1ec4a050c161974ccd084fc36657d16e4527663f @valyala committed Jan 13, 2012
Showing with 5 additions and 1 deletion.
  1. +4 −0 gheap.h
  2. +1 −1 tests.c
View
4 gheap.h
@@ -31,6 +31,10 @@ typedef int (*gheap_less_comparer_t)(const void *ctx, const void *a,
*/
typedef void (*gheap_item_mover_t)(void *dst, const void *src);
+/*
+ * Gheap context.
+ * This context must be passed to every gheap function.
+ */
struct gheap_ctx
{
size_t fanout;
View
2 tests.c
@@ -4,7 +4,7 @@
#include "gpriority_queue.h"
#include <assert.h>
-#include <stdint.h> /* for uintptr_t */
+#include <stdint.h> /* for uintptr_t, SIZE_MAX */
#include <stdio.h> /* for printf() */
#include <stdlib.h> /* for srand(), rand(), malloc(), free() */

0 comments on commit 1ec4a05

Please sign in to comment.