OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [include/] [fibheap.h] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
/* A Fibonacci heap datatype.
/* A Fibonacci heap datatype.
   Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
   Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009
 
   Free Software Foundation, Inc.
   Contributed by Daniel Berlin (dan@cgsoftware.com).
   Contributed by Daniel Berlin (dan@cgsoftware.com).
 
 
This file is part of GCC.
This file is part of GCC.
 
 
GCC is free software; you can redistribute it and/or modify it
GCC is free software; you can redistribute it and/or modify it
Line 40... Line 41...
#ifndef _FIBHEAP_H_
#ifndef _FIBHEAP_H_
#define _FIBHEAP_H_
#define _FIBHEAP_H_
 
 
#include "ansidecl.h"
#include "ansidecl.h"
 
 
 
#ifdef __cplusplus
 
extern "C" {
 
#endif
 
 
typedef long fibheapkey_t;
typedef long fibheapkey_t;
 
 
typedef struct fibheap
typedef struct fibheap
{
{
  size_t nodes;
  size_t nodes;
Line 81... Line 86...
extern void *fibheap_replace_data (fibheap_t, fibnode_t, void *);
extern void *fibheap_replace_data (fibheap_t, fibnode_t, void *);
extern void *fibheap_delete_node (fibheap_t, fibnode_t);
extern void *fibheap_delete_node (fibheap_t, fibnode_t);
extern void fibheap_delete (fibheap_t);
extern void fibheap_delete (fibheap_t);
extern fibheap_t fibheap_union (fibheap_t, fibheap_t);
extern fibheap_t fibheap_union (fibheap_t, fibheap_t);
 
 
 
#ifdef __cplusplus
 
}
 
#endif
 
 
#endif /* _FIBHEAP_H_ */
#endif /* _FIBHEAP_H_ */
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.