package uring
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Private.Heap
Source
A bounded heap of values of type 'a
.
An element in a heap.
The index of an entry.
alloc t a ~extra_data
adds the value a
to t
and returns a pointer to that value, or raises No_space
if no space exists in t
.
free t p
returns the element referenced by p
and removes it from the heap. Has undefined behaviour if p
has already been freed.