From 6af95e61212611908d39235222474d4038e10fcd Mon Sep 17 00:00:00 2001 From: vnugent Date: Wed, 31 Jul 2024 15:14:07 -0400 Subject: ci: clean up heapapi header & better formalize taskfiles --- lib/Utils.Memory/NativeHeapApi/src/NativeHeapApi.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lib/Utils.Memory/NativeHeapApi') diff --git a/lib/Utils.Memory/NativeHeapApi/src/NativeHeapApi.h b/lib/Utils.Memory/NativeHeapApi/src/NativeHeapApi.h index 1738d19..b54313a 100644 --- a/lib/Utils.Memory/NativeHeapApi/src/NativeHeapApi.h +++ b/lib/Utils.Memory/NativeHeapApi/src/NativeHeapApi.h @@ -51,7 +51,7 @@ #ifdef _P_IS_WINDOWS #define VNLIB_HEAP_API __declspec(dllimport) #else - #define VNLIB_HEAP_API + #define VNLIB_HEAP_API extern #endif /* _P_IS_WINDOWS */ #endif /* !VNLIB_EXPORTING */ #endif /* !VNLIB_EXPORT */ @@ -72,12 +72,9 @@ typedef enum HeapCreationFlags HEAP_CREATION_SUPPORTS_REALLOC = 0x08 } HeapCreationFlags; -#ifdef _P_IS_WINDOWS -typedef void* LPVOID; -#endif /* !WIN32 */ - /* The vnlib ERRNO type, integer/process dependent, -internally represented as a pointer */ + internally represented as a pointer +*/ typedef void* ERRNO; /* A pointer to a heap structure that was stored during heap creation */ -- cgit