pike.git / lib / modules / ADT.pmod / Heap.pike

version» Context lines:

pike.git/lib/modules/ADT.pmod/Heap.pike:1: + #pike __VERSION__ +    #define SWAP(X,Y) do{ mixed tmp=values[X]; values[X]=values[Y]; values[Y]=tmp; }while(0)      static private array values=allocate(10);   static private int num_values;      #ifdef DEBUG   void verify_heap()   {    int e;    for(e=1;e<num_values;e++)