mirror of
https://github.com/ToyB-Chan/minimal-heap.git
synced 2026-11-09 07:02:06 +01:00
fixed some more small things
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#define __MINIMAL_HEAP_H__
|
||||
|
||||
#define MIHP_VERSION_MAJOR 1
|
||||
#define MIHP_VERSION_MINOR 13
|
||||
#define MIHP_VERSION_MINOR 14
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@@ -18,6 +18,10 @@
|
||||
#endif
|
||||
/* */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef uintptr_t MIHP_HeapOpaque;
|
||||
|
||||
typedef void*(MIHP_PlatformRequestMemoryFn)(MIHP_HeapOpaque heap, size_t minRequestedSize, size_t* outActualSize);
|
||||
@@ -213,4 +217,8 @@ size_t MIHP_GetMaximalPayloadSize(const MIHP_Heap* heap);
|
||||
#include "minimal_heap_implementation.inl"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user