From af3d63ad0f2af944689c1cd313ad1a81194d2c59 Mon Sep 17 00:00:00 2001 From: Orcolom Date: Wed, 26 Feb 2025 21:13:36 +0100 Subject: [PATCH] added dll_export macro --- clay.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clay.h b/clay.h index c7c50fc..aecc047 100644 --- a/clay.h +++ b/clay.h @@ -783,10 +783,10 @@ CLAY_DLL_EXPORT uint32_t Clay_MinMemorySize(void); CLAY_DLL_EXPORT Clay_Arena Clay_CreateArenaWithCapacityAndMemory(uint32_t capacity, void *memory); // Sets the state of the "pointer" (i.e. the mouse or touch) in Clay's internal data. Used for detecting and responding to mouse events in the debug view, // as well as for Clay_Hovered() and scroll element handling. -void Clay_SetPointerState(Clay_Vector2 position, bool pointerDown); +CLAY_DLL_EXPORT void Clay_SetPointerState(Clay_Vector2 position, bool pointerDown); // Gets the state of the "pointer". This will return the position provided by `Clay_SetPointerState` // and the frame pressed state. -Clay_PointerData Clay_GetPointerState(); +CLAY_DLL_EXPORT Clay_PointerData Clay_GetPointerState(); // Initialize Clay's internal arena and setup required data before layout can begin. Only needs to be called once. // - arena can be created using Clay_CreateArenaWithCapacityAndMemory() // - layoutDimensions are the initial bounding dimensions of the layout (i.e. the screen width and height for a full screen layout)