Append a copy of the element x at the end of the array.
This can trigger an allocation if the array is not big enough.
Returns a pointer to the newly appended element if the append was
successful, null otherwise (i.e. an allocation was triggered but the
allocation failed) in which case the internal state is not changed.
Append a copy of the element x at the end of the array.
This can trigger an allocation if the array is not big enough.
Returns a pointer to the newly appended element if the append was successful, null otherwise (i.e. an allocation was triggered but the allocation failed) in which case the internal state is not changed.