im.pidgin.pidgin: 29a039d30bb7df5dc7e2f4e471bd162e2cccaba8
datallah at pidgin.im
datallah at pidgin.im
Fri Nov 16 12:15:38 EST 2007
-----------------------------------------------------------------
Revision: 29a039d30bb7df5dc7e2f4e471bd162e2cccaba8
Ancestor: e457c19ecf169acff46a6f6467c804af0775f3bd
Author: datallah at pidgin.im
Date: 2007-11-16T17:11:44
Branch: im.pidgin.pidgin
Modified files:
libpurple/plugins/perl/common/PluginPref.xs
libpurple/plugins/perl/common/module.h
libpurple/plugins/perl/common/typemap
ChangeLog:
Add purple_plugin_pref_[sg]et_format_type to the Perl API. There are a number of new functions that also need to be added, but I don't have time to do that right now. Fixes #3781.
-------------- next part --------------
============================================================
--- libpurple/plugins/perl/common/PluginPref.xs 3fbea534f1f05e695a7091dccb75760f800d100c
+++ libpurple/plugins/perl/common/PluginPref.xs a9b719e549b59aabd58335da8a0dd1fa064ffac0
@@ -93,6 +93,10 @@ purple_plugin_pref_get_masked(pref)
purple_plugin_pref_get_masked(pref)
Purple::PluginPref pref
+Purple::String::Format::Type
+purple_plugin_pref_get_format_type(pref)
+ Purple::PluginPref pref
+
unsigned int
purple_plugin_pref_get_max_length(pref)
Purple::PluginPref pref
@@ -145,6 +149,11 @@ void
gboolean mask
void
+purple_plugin_pref_set_format_type(pref, format)
+ Purple::PluginPref pref
+ Purple::String::Format::Type format
+
+void
purple_plugin_pref_set_max_length(pref, max_length)
Purple::PluginPref pref
unsigned int max_length
============================================================
--- libpurple/plugins/perl/common/module.h af4081e615256cfca135ce2cf29b871f600bb26f
+++ libpurple/plugins/perl/common/module.h e2f5c01868185ca35148d1c80cb90c4e9eaf59f0
@@ -197,6 +197,7 @@ typedef PurplePluginPrefType Purple__Pl
typedef PurplePluginPref * Purple__PluginPref;
typedef PurplePluginPrefFrame * Purple__PluginPref__Frame;
typedef PurplePluginPrefType Purple__PluginPrefType;
+typedef PurpleStringFormatType Purple__String__Format__Type;
/* pounce.h */
typedef PurplePounce * Purple__Pounce;
============================================================
--- libpurple/plugins/perl/common/typemap 1979383b942028757d72b693716caa8cd401c9e3
+++ libpurple/plugins/perl/common/typemap f86086abba79a48ffea4fe3f67b2fb13fd7d284b
@@ -158,6 +158,7 @@ Purple::StoredImage T_PurpleObj
const Purple::StatusType T_PurpleObj
Purple::StoredImage T_PurpleObj
+Purple::String::Format::Type T_IV
Purple::Stringref T_PurpleObj
Purple::Util::FetchUrlData T_PTR
Purple::Util::InfoFieldFormatCallback T_PTR
More information about the Commits
mailing list