diff options
author | Karl Berry <karl@freefriends.org> | 2010-07-05 22:26:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-07-05 22:26:04 +0000 |
commit | 648027bec248a7b000741a507b507f6d89941ce5 (patch) | |
tree | ce3b82b43a8b17403eda43db782bbf2e5bf0e161 /Build/source/utils/asymptote/runarray.in | |
parent | 5ff8f96c8ab3bd3aeb8fed8d512c57134fb2a6cc (diff) |
asy 2.00
git-svn-id: svn://tug.org/texlive/trunk@19250 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/runarray.in')
-rw-r--r-- | Build/source/utils/asymptote/runarray.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/runarray.in b/Build/source/utils/asymptote/runarray.in index 31bb2aebe4c..1c113c9bb53 100644 --- a/Build/source/utils/asymptote/runarray.in +++ b/Build/source/utils/asymptote/runarray.in @@ -564,7 +564,8 @@ item :arrayArrayRead(array *a, Int n) } // Write an element to an array. Increase size if necessary. -item :arrayWrite(item value, array *a, Int n) +// TODO: Add arrayWriteAndPop +item :arrayWrite(array *a, Int n, item value) { size_t len=checkArray(a); bool cyclic=a->cyclic(); @@ -579,7 +580,7 @@ item :arrayWrite(item value, array *a, Int n) return value; } -array * :arraySliceWrite(array *src, array *dest, Int left, Int right) +array * :arraySliceWrite(array *dest, Int left, Int right, array *src) { checkArray(src); checkArray(dest); @@ -587,7 +588,7 @@ array * :arraySliceWrite(array *src, array *dest, Int left, Int right) return src; } -array * :arraySliceWriteToEnd(array *src, array *dest, Int left) +array * :arraySliceWriteToEnd(array *dest, Int left, array *src) { checkArray(src); size_t len=checkArray(dest); |