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.HeapSource
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 Invalid_arg if no extra space can be created for t, or t has already been released.
free t p returns the element referenced by p and removes it from the heap. Has undefined behaviour if p has already been freed.
release t marks t as unusable. Future operations on it will fail. t must be idle.