From 088a3648dda9cb3cf932493225c4aa2ce3bfb9ba Mon Sep 17 00:00:00 2001 From: ToyB-Chan Date: Sun, 14 Jun 2026 04:05:45 +0200 Subject: [PATCH] forward declaration --- minimal_heap.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/minimal_heap.h b/minimal_heap.h index d30da63..1fc9a84 100644 --- a/minimal_heap.h +++ b/minimal_heap.h @@ -34,6 +34,9 @@ typedef enum _MIHP_HeapCorruptionError MIHP_HCE_DoubleFree = 2 } MIHP_HeapCorruptionError; +struct _MIHP_Heap; +struct _MIHP_HeapCorruptionInfo; + typedef void (MIHP_OnHeapCorruptionDetectedFn)(const struct _MIHP_Heap* heap, struct _MIHP_HeapCorruptionInfo corruptionInfo); typedef void(MIHP_LockHeapFn)(MIHP_HeapOpaque heap, void* heapLock);