N
AME
array
- the internal representation of an array
D
ESCRIPTION
A Pike array is represented as a 'struct array' with all the needed svalues malloced in the same block. The relevant members are:
refs
reference count
size
the number of svalues in the array
malloced_size
the number of svalues that can fit in this block
type_field
a bitfield indicating what types the array contains
item
the array of svalues
S
EE
A
LSO
type_field
K
EYWORDS
internals
R
ELATED
P
AGES
aggregate_array
- build an array from the stack
allocate_array
- allocate an array
array_index
- get an index from an array
array_remove
- remove an index from an array
array_search
- search an array
array_set_index
- get an index from an array
copy_array
- copy an array
free_array
- free one reference to a array
push_array_items
- push array contents on stack
resize_array
- change the size of an array destructively
slice_array
- slice a pice of an array