Mercurial > pidgin
changeset 12785:beda858e88fa
[gaim-migrate @ 15132]
Whitespace and a note about something that may or may not want to be looked at
in the future.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Mon, 09 Jan 2006 07:49:05 +0000 |
parents | d3476701107d |
children | 33ddb29406a1 |
files | plugins/perl/common/AccountOpts.xs |
diffstat | 1 files changed, 15 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/perl/common/AccountOpts.xs Mon Jan 09 07:46:31 2006 +0000 +++ b/plugins/perl/common/AccountOpts.xs Mon Jan 09 07:49:05 2006 +0000 @@ -3,11 +3,11 @@ MODULE = Gaim::Account::Option PACKAGE = Gaim::Account::Option PREFIX = gaim_account_option_ PROTOTYPES: ENABLE -void +void gaim_account_option_destroy(option) Gaim::Account::Option option -const char * +const char * gaim_account_option_get_default_string(option) Gaim::Account::Option option @@ -15,7 +15,7 @@ gaim_account_option_add_list_item(option, key, value) Gaim::Account::Option option const char * key - const char * value + const char * value void gaim_account_option_set_default_string(option, value); @@ -30,7 +30,7 @@ void gaim_account_option_set_default_bool(option, value); Gaim::Account::Option option - gboolean value + gboolean value Gaim::Account::Option gaim_account_option_list_new(class, text, pref_name, values) @@ -91,6 +91,10 @@ const GList *l; PPCODE: for (l = gaim_account_option_get_list(option); l != NULL; l = l->next) { + /* XXX These are actually GaimKeyValuePairs but we don't have a + * type for that and even if we did I don't think there's + * anything perl could do with them, so I'm just going to + * leave this as a Gaim::ListEntry for now. */ XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::ListEntry"))); } @@ -98,16 +102,15 @@ gaim_account_option_get_type(option) Gaim::Account::Option option -gboolean +gboolean gaim_account_option_get_masked(option) Gaim::Account::Option option -int +int gaim_account_option_get_default_int(option) Gaim::Account::Option option; -INIT: - -gboolean + +gboolean gaim_account_option_get_default_bool(option) Gaim::Account::Option option; @@ -119,7 +122,7 @@ gaim_account_option_get_text(option) Gaim::Account::Option option -void +void gaim_account_option_set_list(option, values) Gaim::Account::Option option SV * values @@ -152,7 +155,7 @@ C_ARGS: text, default_value, sep -char +char gaim_account_user_split_get_separator(split) Gaim::Account::UserSplit split @@ -160,6 +163,6 @@ gaim_account_user_split_get_text(split) Gaim::Account::UserSplit split -void +void gaim_account_user_split_destroy(split) Gaim::Account::UserSplit split