From: Michal MalĂ˝ Date: Sun, 29 Jun 2014 15:30:32 +0000 (+0200) Subject: Add error_to_string() to Win32 DLL exports X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=f85c50df1950194db97b00882d8b29bb67b197b6;p=libHPCS.git Add error_to_string() to Win32 DLL exports --- 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);