Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > PriorityQueue
comparison PriorityQueue.c @ 1:4d8a1e0f4336
include statements adapted to the new folder structure
| author | hausers |
|---|---|
| date | Thu, 09 Feb 2012 15:55:54 +0100 |
| parents | 9ecc993a29ea |
| children | 500d0e2fabfb 7254bef12749 |
comparison
equal
deleted
inserted
replaced
| 0:7672ee9d6cf7 | 1:6c4a329945ba |
|---|---|
| 9 #include <stdio.h> | 9 #include <stdio.h> |
| 10 #include <string.h> | 10 #include <string.h> |
| 11 | 11 |
| 12 #include "PriorityQueue.h" | 12 #include "PriorityQueue.h" |
| 13 #ifndef DEBUG | 13 #ifndef DEBUG |
| 14 #include "../VMS/vmalloc.h" | 14 #include "../../VMS_Implementations/VMS_impl/vmalloc.h" |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 #define left(i) 2*i | 17 #define left(i) 2*i |
| 18 #define right(i) 2*i+1 | 18 #define right(i) 2*i+1 |
| 19 #define parent(i) i/2 | 19 #define parent(i) i/2 |
