Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
Loading...
Searching...
No Matches
pqmh_t Struct Reference

A priority queue. More...

#include <pqmh.h>

Collaboration diagram for pqmh_t:
[legend]

Data Fields

const pqmh_control_tctl
void ** data
size_t len
size_t cap

Detailed Description

A priority queue.

data is the backing heap array of element pointers, len the live count, cap the allocated capacity. The control is bound at pqmh_make and not re-passed per operation.

Definition at line 66 of file pqmh.h.

Field Documentation

◆ cap

size_t pqmh_t::cap

Definition at line 70 of file pqmh.h.

◆ ctl

const pqmh_control_t* pqmh_t::ctl

Definition at line 67 of file pqmh.h.

◆ data

void** pqmh_t::data

Definition at line 68 of file pqmh.h.

◆ len

size_t pqmh_t::len

Definition at line 69 of file pqmh.h.


The documentation for this struct was generated from the following file: