Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > PriorityQueue
comparison PriorityQueue.c @ 4:7254bef12749
removed "VMS" from function names -- names compatible with pure C version
| author | Me@portablequad |
|---|---|
| date | Sat, 11 Feb 2012 20:29:34 -0800 |
| parents | 4d8a1e0f4336 |
| children | 09e51191078a |
comparison
equal
deleted
inserted
replaced
| 1:6c4a329945ba | 3:6feaa06de6ee |
|---|---|
| 77 | 77 |
| 78 VMS__free(oldData); | 78 VMS__free(oldData); |
| 79 } | 79 } |
| 80 | 80 |
| 81 | 81 |
| 82 PrioQueueStruc* makeVMSPrioQ () { | 82 PrioQueueStruc* makePrioQ () { |
| 83 PrioQueueStruc *retQ; | 83 PrioQueueStruc *retQ; |
| 84 retQ= VMS__malloc(sizeof(PrioQueueStruc)); | 84 retQ= VMS__malloc(sizeof(PrioQueueStruc)); |
| 85 retQ->maxSize= 1024; | 85 retQ->maxSize= 1024; |
| 86 retQ->data= VMS__malloc(retQ->maxSize*sizeof(heapNode)); | 86 retQ->data= VMS__malloc(retQ->maxSize*sizeof(heapNode)); |
| 87 retQ->size= 0; | 87 retQ->size= 0; |
