Changeset - d91990a491ab
[Not reviewed]
0 3 0
HanzZ - 13 years ago 2012-09-04 20:30:24
hanzz.k@gmail.com
fixed purple_dev
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/gen_dynamic_purple.py
Show inline comments
 
@@ -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:
backends/libpurple/purple_defs.cpp
Show inline comments
 
@@ -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");
backends/libpurple/purple_defs.h
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)