pavel-kirienko / o1heap

Constant-complexity deterministic memory allocator (heap) for hard real-time high-integrity embedded systems. There is very little activity because the project is finished and does not require further changes.
MIT License
245 stars 26 forks source link

add o1HeapMaxSize #18

Open thirtytwobits opened 1 year ago

thirtytwobits commented 1 year ago

Add size_t o1HeapMaxSize(O1HeapInstance* const handle) so I can implement allocator_traits<T>::max_size(T&); when using in C++.