Mercurial > pidgin
diff plugins/perl/common/Request.xs @ 11589:30947631262d
[gaim-migrate @ 13859]
this at least lets the perl plugin compile on my amd64 box
i don't really think we need perl funcs that take va_list anyway
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Sun, 02 Oct 2005 18:28:29 +0000 |
| parents | b284c703d398 |
| children | a88ca6da0b38 |
line wrap: on
line diff
--- a/plugins/perl/common/Request.xs Sun Oct 02 17:53:48 2005 +0000 +++ b/plugins/perl/common/Request.xs Sun Oct 02 18:28:29 2005 +0000 @@ -1,5 +1,19 @@ #include "module.h" +/* This breaks on faceprint's amd64 box +void * +gaim_request_action_varg(handle, title, primary, secondary, default_action, user_data, action_count, actions) + void * handle + const char *title + const char *primary + const char *secondary + unsigned int default_action + void *user_data + size_t action_count + va_list actions + */ + + typedef struct { char *cancel_cb; char *ok_cb; @@ -132,30 +146,19 @@ gpr = g_new(GaimPerlRequestData, 1); gpr->ok_cb = g_strdup_printf("%s::%s", package, SvPV(ok_cb, len)); gpr->cancel_cb = g_strdup_printf("%s::%s", package, SvPV(cancel_cb, len)); - + RETVAL = gaim_request_fields(handle, title, primary, secondary, fields, ok_text, G_CALLBACK(gaim_perl_request_ok_cb), cancel_text, G_CALLBACK(gaim_perl_request_cancel_cb), gpr); OUTPUT: RETVAL -void * -gaim_request_action_varg(handle, title, primary, secondary, default_action, user_data, action_count, actions) - void * handle - const char *title - const char *primary - const char *secondary - unsigned int default_action - void *user_data - size_t action_count - va_list actions - -void +void gaim_request_close(type, uihandle) Gaim::RequestType type - void * uihandle + void * uihandle -void +void gaim_request_close_with_handle(handle) - void * handle + void * handle Gaim::Account gaim_request_field_account_get_default_value(field)
