aboutsummaryrefslogtreecommitdiff
path: root/lib/Utils.Memory/NativeHeapApi
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-07-31 15:14:07 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-07-31 15:14:07 -0400
commit6af95e61212611908d39235222474d4038e10fcd (patch)
tree84f36317a6e1758d262bcb2ed5b8ececf3626f60 /lib/Utils.Memory/NativeHeapApi
parent52965ce8bb0b06f59b07c7f6b5a9de6bfbc22b40 (diff)
ci: clean up heapapi header & better formalize taskfiles
Diffstat (limited to 'lib/Utils.Memory/NativeHeapApi')
-rw-r--r--lib/Utils.Memory/NativeHeapApi/src/NativeHeapApi.h9
1 files changed, 3 insertions, 6 deletions
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 */