enchant-provider.h | enchant-provider.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
#ifdef _WIN32 | #ifdef _WIN32 | |||
#define WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | |||
#include <windows.h> | #include <windows.h> | |||
#endif | #endif | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/* private */ | ||||
ENCHANT_MODULE_EXPORT(char *) | ||||
_enchant_get_user_language(void); | ||||
#ifdef _WIN32 | #ifdef _WIN32 | |||
#define ENCHANT_PLUGIN_DECLARE(name) static HANDLE s_hModule = (HANDLE)(NUL L); BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { s_hModule = hModule; return TRUE; } | #define ENCHANT_PLUGIN_DECLARE(name) static HANDLE s_hModule = (HANDLE)(NUL L); BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { s_hModule = hModule; return TRUE; } | |||
#else | #else | |||
#define ENCHANT_PLUGIN_DECLARE(name) | #define ENCHANT_PLUGIN_DECLARE(name) | |||
#endif | #endif | |||
typedef struct str_enchant_provider EnchantProvider; | typedef struct str_enchant_provider EnchantProvider; | |||
ENCHANT_MODULE_EXPORT (char *) | ENCHANT_MODULE_EXPORT (char *) | |||
enchant_get_user_home_dir (void); | enchant_get_user_home_dir (void); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||