pike.git/
src/
array.c
Branch:
Tag:
Non-build tags
All tags
No tags
2018-01-30
2018-01-30 19:13:15 by Martin Nilsson <nilsson@fastmail.com>
bb34c20e01f25f530069fcef34f2115240f4f51d (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Added const.
1419:
/** * Reorganize an array in the order specified by 'order'. */
-
PMOD_EXPORT struct array *order_array(struct array *v, INT32 *order)
+
PMOD_EXPORT struct array *order_array(struct array *v,
const
INT32 *order)
{ reorder((char *)ITEM(v),v->size,sizeof(struct svalue),order); return v;