Mercurial > pidgin
comparison src/signals.c @ 6509:e74e378e86bf
[gaim-migrate @ 7026]
This changes the sending and receiving signals to use GaimAccounts and
recipient/sender usernames rather than GaimConversations. The display*
signals aren't changed yet because I'm not sure I fully grok them.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 19 Aug 2003 23:52:07 +0000 |
parents | 5ca59294698d |
children | adf168f002ad |
comparison
equal
deleted
inserted
replaced
6508:cbd24b37350d | 6509:e74e378e86bf |
---|---|
489 void *arg3 = va_arg(args, void *); | 489 void *arg3 = va_arg(args, void *); |
490 void *arg4 = va_arg(args, void *); | 490 void *arg4 = va_arg(args, void *); |
491 | 491 |
492 ((void (*)(void *, void *, void *, void *, void *))cb)(arg1, arg2, arg3, arg4, data); | 492 ((void (*)(void *, void *, void *, void *, void *))cb)(arg1, arg2, arg3, arg4, data); |
493 } | 493 } |
494 | |
495 void | |
496 gaim_marshal_VOID__POINTER_POINTER_POINTER_UINT(GaimCallback cb, | |
497 va_list args, | |
498 void *data, | |
499 void **return_val) | |
500 { | |
501 void *arg1 = va_arg(args, void *); | |
502 void *arg2 = va_arg(args, void *); | |
503 void *arg3 = va_arg(args, void *); | |
504 guint arg4 = va_arg(args, guint); | |
505 | |
506 ((void (*)(void *, void *, void *, guint, void *))cb)(arg1, arg2, arg3, arg4, data); | |
507 } | |
508 | |
494 void | 509 void |
495 gaim_marshal_VOID__POINTER_POINTER_POINTER_UINT_UINT(GaimCallback cb, | 510 gaim_marshal_VOID__POINTER_POINTER_POINTER_UINT_UINT(GaimCallback cb, |
496 va_list args, | 511 va_list args, |
497 void *data, | 512 void *data, |
498 void **return_val) | 513 void **return_val) |
533 if (return_val != NULL) | 548 if (return_val != NULL) |
534 *return_val = GINT_TO_POINTER(ret_val); | 549 *return_val = GINT_TO_POINTER(ret_val); |
535 } | 550 } |
536 | 551 |
537 void | 552 void |
553 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER(GaimCallback cb, va_list args, | |
554 void *data, void **return_val) | |
555 { | |
556 gboolean ret_val; | |
557 void *arg1 = va_arg(args, void *); | |
558 void *arg2 = va_arg(args, void *); | |
559 void *arg3 = va_arg(args, void *); | |
560 | |
561 ret_val = ((gboolean (*)(void *, void *, void *, void *))cb)(arg1, arg2, | |
562 arg3, data); | |
563 | |
564 if (return_val != NULL) | |
565 *return_val = GINT_TO_POINTER(ret_val); | |
566 } | |
567 | |
568 void | |
569 gaim_marshal_BOOLEAN__POINTER_POINTER_UINT(GaimCallback cb, | |
570 va_list args, | |
571 void *data, | |
572 void **return_val) | |
573 { | |
574 gboolean ret_val; | |
575 void *arg1 = va_arg(args, void *); | |
576 void *arg2 = va_arg(args, void *); | |
577 guint arg3 = va_arg(args, guint); | |
578 | |
579 ret_val = ((gboolean (*)(void *, void *, guint, void *))cb)( | |
580 arg1, arg2, arg3, data); | |
581 | |
582 if (return_val != NULL) | |
583 *return_val = GINT_TO_POINTER(ret_val); | |
584 } | |
585 | |
586 void | |
538 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_UINT(GaimCallback cb, | 587 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_UINT(GaimCallback cb, |
539 va_list args, | 588 va_list args, |
540 void *data, | 589 void *data, |
541 void **return_val) | 590 void **return_val) |
542 { | 591 { |