Branch: Tag:

2001-11-22

2001-11-22 20:00:58 by Martin Nilsson <mani@lysator.liu.se>

Autodoc stubs

Rev: lib/modules/ADT.pmod/Heap.pike:1.6
Rev: lib/modules/ADT.pmod/Priority_queue.pike:1.5
Rev: lib/modules/ADT.pmod/Queue.pike:1.4

13: Inside #if defined(DEBUG)
   {    if(values[(e-1)/2] > values[e])    { -  write(sprintf("FEL in HEAP (%d, %d) num_values=%d\n", (e-1)/2, e, num_values)); +  write(sprintf("Error in HEAP (%d, %d) num_values=%d\n", +  (e-1)/2, e, num_values));    exit(1);    }    }
71:    return 0;   }    + //! @fixme + //! Document this function   void push(mixed value)   {    if(num_values >= sizeof(values))
81:    verify_heap();   }    + //! @fixme + //! Document this function   void adjust(mixed value)   {    int pos=search(values, value);
90:    verify_heap();   }    + //! @fixme + //! Document this function   mixed top()   {    mixed ret;
111:    verify_heap();   }    + //! @fixme + //! Document this function   int size() { return num_values; }