Commit eb519e7b authored by Philippe Gerum's avatar Philippe Gerum
Browse files

cobalt/heap: add accessor to usage counter

parent 4b2408b8
......@@ -107,6 +107,12 @@ size_t xnheap_get_size(const struct xnheap *heap)
return heap->usable_size;
static inline
size_t xnheap_get_used(const struct xnheap *heap)
return heap->used_size;
static inline
size_t xnheap_get_free(const struct xnheap *heap)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment