fixed some more small things

This commit is contained in:
2026-11-05 23:45:08 +01:00
parent a632291f07
commit 083cb52f54
2 changed files with 26 additions and 2 deletions

View File

@@ -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