pike.git/
src/
array.c
Branch:
Tag:
Non-build tags
All tags
No tags
2005-11-14
2005-11-14 19:56:54 by Martin Nilsson <mani@lysator.liu.se>
e41dec3ef2f94b36c4b97d95e599224c6c7b428f (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Some comment punctuation.
Rev: src/array.c:1.183
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: array.c,v 1.
182
2005/
09
/
12
07
:
45
:
47
bill
Exp $
+
|| $Id: array.c,v 1.
183
2005/
11
/
14
19
:
56
:
54
nilsson
Exp $
*/ #include "global.h"
2304:
stack_pop_n_elems_keep_top(args); }
-
/**
reverse
the elements in an array
-
*
if
the array has more than one reference, the array will be reversed
-
*
into a new array.
otherwise,
the
same
array
is
reversed.
+
/**
Reverse
the elements in an array
.
If
the array has more than one
+
*
reference, the array will be reversed into a new array.
Otherwise
+
*
the array
will
be destructively
reversed
in place
.
*/ PMOD_EXPORT struct array *reverse_array(struct array *a) {