N
AME
resize_array
- change the size of an array destructively
S
YNTAX
#include "array.h"
struct array *resize_array(struct array *
a
, INT32
new_size
);
D
ESCRIPTION
This function makes an array from 'a' with the size 'new_size'. Note that the returned might or might not be the same as 'a'. If 'a' is too small or too big for 'new_size', a copy of 'a' will be made with enough room and then 'a' will be freed. This means that you can only use this function on arrays which has not been passed to any lpc functions yet.
K
EYWORDS
array
S
EE
A
LSO
array_insert and
array_remove