skydevgit / crisscross

Automatically exported from code.google.com/p/crisscross
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

DStack item access #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A function to get the a reference/pointer to the dataType at the top of the 
DStack without removing 
it from the stack would be helpful.

Original issue reported on code.google.com by ARPl...@gmail.com on 18 May 2007 at 6:10

GoogleCodeExporter commented 9 years ago
Perhaps. The reason I made pop() remove the item on top is because it reduces 
two
calls into one. I can add a peek() call which will display item on top of the 
stack.

Targeting for v0.6.1

Original comment by steven.n...@gmail.com on 18 May 2007 at 6:50

GoogleCodeExporter commented 9 years ago
Change committed to trunk, will be merged in time for v0.6.1.

Original comment by steven.n...@gmail.com on 20 May 2007 at 9:19

GoogleCodeExporter commented 9 years ago
Merged in 0.6 branch r356.

Original comment by steven.n...@gmail.com on 20 May 2007 at 9:37