fixed purple_dev
This commit is contained in:
parent
66c4de4c64
commit
d91990a491
3 changed files with 3 additions and 3 deletions
|
@ -196,7 +196,7 @@ def output():
|
|||
|
||||
print >> cpp, "bool resolvePurpleFunctions() {"
|
||||
print >> cpp, "#if PURPLE_RUNTIME"
|
||||
print >> cpp, "\tf_hPurple = LoadLibrary(\"libpurple.dll\");"
|
||||
print >> cpp, "\tf_hPurple = LoadLibrary(L\"libpurple.dll\");"
|
||||
print >> cpp, "\tif (!f_hPurple)"
|
||||
print >> cpp, "\t\t\treturn false;"
|
||||
for d in definitions:
|
||||
|
|
|
@ -139,7 +139,7 @@ wpurple_g_io_channel_win32_new_socket_wrapped_fnc wpurple_g_io_channel_win32_new
|
|||
#endif
|
||||
bool resolvePurpleFunctions() {
|
||||
#if PURPLE_RUNTIME
|
||||
f_hPurple = LoadLibrary("libpurple.dll");
|
||||
f_hPurple = LoadLibrary(L"libpurple.dll");
|
||||
if (!f_hPurple)
|
||||
return false;
|
||||
purple_debug_set_ui_ops_wrapped = (purple_debug_set_ui_ops_wrapped_fnc)GetProcAddress(f_hPurple, "purple_debug_set_ui_ops");
|
||||
|
|
|
@ -248,7 +248,7 @@ extern purple_account_set_privacy_type_wrapped_fnc purple_account_set_privacy_ty
|
|||
typedef PurpleStatusType * (_cdecl * purple_account_get_status_type_with_primitive_wrapped_fnc)( const PurpleAccount *account, PurpleStatusPrimitive primitive);
|
||||
extern purple_account_get_status_type_with_primitive_wrapped_fnc purple_account_get_status_type_with_primitive_wrapped;
|
||||
|
||||
typedef void (_cdecl * purple_account_set_status_wrapped_fnc)(PurpleAccount *account, const char *status_id, gboolean active, ...) );
|
||||
typedef void (_cdecl * purple_account_set_status_wrapped_fnc)(PurpleAccount *account, const char *status_id, gboolean active, ...);
|
||||
extern purple_account_set_status_wrapped_fnc purple_account_set_status_wrapped;
|
||||
|
||||
typedef int (_cdecl * purple_account_get_int_wrapped_fnc)(const PurpleAccount *account, const char *name, int default_value);
|
||||
|
|
Loading…
Add table
Reference in a new issue