dynarray.c
void *dynarray_pop(Dynarray *hdr) {
    if(!hdr->used)
        return NULL;
    hdr->used--;
    return hdr->ary[hdr->used];
}
//==============================================================================
// Pops an item off the end of the array, returning a pointer to it or NULL if
// the array is empty.
//==============================================================================
Pops an item off the end of the array, returning a pointer to it or NULL if
the array is empty.
Pops an item off the end of the array returning a pointer to it or NULL if the array is empty .
void *dynarray_pop(Dynarray *hdr) {
    if(!hdr->used)
        return NULL;
    hdr->used--;
    return hdr->ary[hdr->used];
}
void * dynarray_pop ( Dynarray * hdr ) { if ( ! hdr -> used ) return NULL ; hdr -> used -- ; return hdr -> ary [ hdr -> used ] ; }
Pops an item off the end of the array, returning a pointer to it or NULL if
the array is empty.
Pops an item off the end of the array returning a pointer to it or NULL if the array is empty .