Mission Base

Program Base Library Functions

PblHeap* pblHeapNew

( void )

Creates a new heap.

Documentation

Creates a new heap.

The pbl heap implementation is a binary heap using an array list as underlying data structure.

This function has a time complexity of O(1).

Returns:
PblHeap * retPtr != NULL: A pointer to the new heap.
PblHeap * retPtr == NULL: An error, see pbl_errno:
PBL_ERROR_OUT_OF_MEMORY - Out of memory.

Alphabetic index



This page was generated with the help of DOC++.