]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Add error_to_string() to Win32 DLL exports
authorMichal Malý <madcatxster@devoid-pointer.net>
Sun, 29 Jun 2014 15:30:32 +0000 (17:30 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Sun, 29 Jun 2014 15:30:32 +0000 (17:30 +0200)
libhpcs.h

index ce63b69e1dc192cd32229eee04c6fa8c92ada0a6..623a1b97ad60b0a4f39e07ac7fe55f83b58d7d76 100644 (file)
--- 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);