From 3fdeb3ed88336564803961d786d5e39f42dee1b4 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 2 May 2020 17:54:52 +1000 Subject: [PATCH] Make DynamicLib_DescribeError available to plugins per request --- src/Platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform.h b/src/Platform.h index 54b11927a..3044ddd07 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -88,7 +88,7 @@ void* DynamicLib_GetFrom(const char* filename, const char* name); /* Outputs more detailed information about errors with the DynamicLib functions. */ /* NOTE: You must call this immediately after DynamicLib_Load/DynamicLib_Get, because on some platforms, the error is a static string instead of from error code. */ -cc_bool DynamicLib_DescribeError(cc_result res, String* dst); +CC_API cc_bool DynamicLib_DescribeError(cc_result res, String* dst); /* Allocates a block of memory, with undetermined contents. Returns NULL on allocation failure. */ CC_API void* Mem_TryAlloc(cc_uint32 numElems, cc_uint32 elemsSize);