comparison include/fibheap.h @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children 04ced10e8804
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
1 /* A Fibonacci heap datatype. 1 /* A Fibonacci heap datatype.
2 Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 2 Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009
3 Free Software Foundation, Inc.
3 Contributed by Daniel Berlin (dan@cgsoftware.com). 4 Contributed by Daniel Berlin (dan@cgsoftware.com).
4 5
5 This file is part of GCC. 6 This file is part of GCC.
6 7
7 GCC is free software; you can redistribute it and/or modify it 8 GCC is free software; you can redistribute it and/or modify it
40 #ifndef _FIBHEAP_H_ 41 #ifndef _FIBHEAP_H_
41 #define _FIBHEAP_H_ 42 #define _FIBHEAP_H_
42 43
43 #include "ansidecl.h" 44 #include "ansidecl.h"
44 45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
45 typedef long fibheapkey_t; 50 typedef long fibheapkey_t;
46 51
47 typedef struct fibheap 52 typedef struct fibheap
48 { 53 {
49 size_t nodes; 54 size_t nodes;
81 extern void *fibheap_replace_data (fibheap_t, fibnode_t, void *); 86 extern void *fibheap_replace_data (fibheap_t, fibnode_t, void *);
82 extern void *fibheap_delete_node (fibheap_t, fibnode_t); 87 extern void *fibheap_delete_node (fibheap_t, fibnode_t);
83 extern void fibheap_delete (fibheap_t); 88 extern void fibheap_delete (fibheap_t);
84 extern fibheap_t fibheap_union (fibheap_t, fibheap_t); 89 extern fibheap_t fibheap_union (fibheap_t, fibheap_t);
85 90
91 #ifdef __cplusplus
92 }
93 #endif
94
86 #endif /* _FIBHEAP_H_ */ 95 #endif /* _FIBHEAP_H_ */