(svn r20680) -Codechange: Remove the now useless union and struct wrappers around the binary heap data.

This commit is contained in:
alberth
2010-08-29 13:34:08 +00:00
parent ded2acf02e
commit 68e2a07479
2 changed files with 45 additions and 49 deletions

View File

@@ -60,14 +60,10 @@ struct Queue {
*/
Queue_FreeProc *free;
union {
struct {
uint max_size;
uint size;
uint blocks; ///< The amount of blocks for which space is reserved in elements
BinaryHeapNode **elements;
} binaryheap;
} data;
uint max_size;
uint size;
uint blocks; ///< The amount of blocks for which space is reserved in elements
BinaryHeapNode **elements;
};