Branch: Tag:

2009-08-20

2009-08-20 04:20:33 by Martin Nilsson <mani@lysator.liu.se>

Autodoc

Rev: lib/modules/ADT.pmod/Heap.pike:1.14

118:   //! Returns the number of elements in the heap.   int _sizeof() { return num_values; }    - // compat +    //! Removes and returns the item on top of the heap,   //! which also is the smallest value in the heap. -  + //! @deprecated pop   __deprecated__ mixed top() { return pop(); }    - // compat +    //! Returns the number of elements in the heap. -  + //! @deprecated lfun::_sizeof   __deprecated__ int size() { return _sizeof(); }      //! Returns the item on top of the heap (which is also the smallest value