Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move xbt_heap_float_t
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2004 18:00:10 +0000 (18:00 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2004 18:00:10 +0000 (18:00 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@545 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/heap.h

index 249f24b..56f0ef1 100644 (file)
@@ -6,18 +6,10 @@
 #ifndef _XBT_HEAP_H
 #define _XBT_HEAP_H
 
 #ifndef _XBT_HEAP_H
 #define _XBT_HEAP_H
 
-#include "xbt/dynar.h"
+#include "xbt/misc.h"
 
 typedef struct xbt_heap *xbt_heap_t;
 
 
 typedef struct xbt_heap *xbt_heap_t;
 
-/* The following two definitions concern the type of the keys used for
-   the heaps. That should be handled via configure (FIXME). */
-typedef long double xbt_heap_float_t;
-#define XBT_HEAP_FLOAT_T "%Lg" /* for printing purposes */
-
-/* /\* pointer to a function freeing something (should be common to all .h : FIXME) *\/ */
-/* typedef void (void_f_pvoid_t) (void *); */
-
 xbt_heap_t xbt_heap_new(int num, void_f_pvoid_t free_func);
 void xbt_heap_free(xbt_heap_t H);
 int xbt_heap_size(xbt_heap_t H);
 xbt_heap_t xbt_heap_new(int num, void_f_pvoid_t free_func);
 void xbt_heap_free(xbt_heap_t H);
 int xbt_heap_size(xbt_heap_t H);