Apache 1.3 API Documentation

Routine ap_append_arrays

Definition:

array_header *ap_append_arrays(pool *p, const array_header *a, const array_header *b);
     

Usage example:

new->hdr_list = ap_append_arrays(p, add->hdr_list, base->hdr_list);
     

Makes a new array consisting of b appended to a. If b is empty, the new array is the same as a until a new element is added. This is a result of using ap_copy_array_header to make the new array.

Returns a pointer to the new array.

See also:
ap_array_cat, ap_copy_array, ap_copy_array_hdr, ap_make_array, ap_push_array, array_header

Previous: ap_allow_overrides Next: ap_array_cat

Table of Contents (Routines, Structures, Data Cells, Constants)