]> git.wincent.com - wikitext.git/commit
Teach ary_entry to handle negative offsets
authorWincent Colaiuta <win@wincent.com>
Mon, 4 Feb 2008 23:57:27 +0000 (00:57 +0100)
committerWincent Colaiuta <win@wincent.com>
Mon, 4 Feb 2008 23:57:27 +0000 (00:57 +0100)
commit5747c2f3c4d5ca5ee676da94f652ff4df2229be4
tree761501e52cb447616511395429a4e5958b22c68c
parentd8923683975d445200877664cdfdd5f172df5b58
Teach ary_entry to handle negative offsets

We sometimes pass in values like -1 to ask for the last item in the
array.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
ext/ary.h