library/src/utility/BP-StringUtilities.cc
// Destroys an array of pointers, TAILQ version..
Destroys an array of pointers, TAILQ version
Destroys an array of pointers TAILQ version
size_t BP_DestroyPointerArrayTAILQ(P_BP_LINKL tq, void ** ptrs, size_t ptrCount) {
	if (!ptrs)
		return ERR_FAILURE;
	size_t x = 0;
	for (x = 0; x < ptrCount; x++) {
		tq_free(tq, ptrs[x]);
		ptrs[x] = NULL;
	}
	return ERR_SUCCESS;
}
size_t BP_DestroyPointerArrayTAILQ ( P_BP_LINKL tq , void * * ptrs , size_t ptrCount ) { if ( ! ptrs ) return ERR_FAILURE ; size_t x = 0 ; for ( x = 0 ; x < ptrCount ; x ++ ) { tq_free ( tq , ptrs [ x ] ) ; ptrs [ x ] = NULL ; } return ERR_SUCCESS ; }
Destroys an array of pointers, TAILQ version..
Destroys an array of pointers TAILQ version ..