From f85c50df1950194db97b00882d8b29bb67b197b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Sun, 29 Jun 2014 17:30:32 +0200 Subject: [PATCH] Add error_to_string() to Win32 DLL exports --- libhpcs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libhpcs.h b/libhpcs.h index ce63b69..623a1b9 100644 --- a/libhpcs.h +++ b/libhpcs.h @@ -55,6 +55,7 @@ struct HPCS_MeasuredData { #ifdef __WIN32__ __declspec(dllexport) enum HPCS_RetCode __cdecl hpcs_read_file(const char* const filename, struct HPCS_MeasuredData* mdata); +__declspec(dllexport) char* __cdecl hpcs_error_to_string(const enum HPCS_RetCode); #else enum HPCS_RetCode hpcs_read_file(const char* const filename, struct HPCS_MeasuredData* mdata); char* hpcs_error_to_string(const enum HPCS_RetCode); -- 2.43.5