Mercurial > pidgin
comparison src/signals.c @ 13987:f94309c7c480
[gaim-migrate @ 16559]
Change the log-timestamp and conversation-timestamp signals to pass around a time_t instead of a struct tm. Most of this changeset is Ethan's work.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 24 Jul 2006 05:08:30 +0000 |
parents | f61428cc4019 |
children | 8bda65b88e49 |
comparison
equal
deleted
inserted
replaced
13986:8a8b4f7f7d99 | 13987:f94309c7c480 |
---|---|
953 if (return_val != NULL) | 953 if (return_val != NULL) |
954 *return_val = GINT_TO_POINTER(ret_val); | 954 *return_val = GINT_TO_POINTER(ret_val); |
955 } | 955 } |
956 | 956 |
957 void | 957 void |
958 gaim_marshal_POINTER__POINTER_INT( | |
959 GaimCallback cb, va_list args, void *data, | |
960 void **return_val) | |
961 { | |
962 gpointer ret_val; | |
963 void *arg1 = va_arg(args, void *); | |
964 gint arg2 = va_arg(args, gint); | |
965 | |
966 ret_val = ((gpointer(*)(void *, gint, void *))cb)(arg1, arg2, data); | |
967 | |
968 if (return_val != NULL) | |
969 *return_val = ret_val; | |
970 } | |
971 | |
972 void | |
973 gaim_marshal_POINTER__POINTER_INT64( | |
974 GaimCallback cb, va_list args, void *data, | |
975 void **return_val) | |
976 { | |
977 gpointer ret_val; | |
978 void *arg1 = va_arg(args, void *); | |
979 gint64 arg2 = va_arg(args, gint64); | |
980 | |
981 ret_val = ((gpointer(*)(void *, gint64, void *))cb)(arg1, arg2, data); | |
982 | |
983 if (return_val != NULL) | |
984 *return_val = ret_val; | |
985 } | |
986 | |
987 void | |
958 gaim_marshal_POINTER__POINTER_POINTER(GaimCallback cb, va_list args, void *data, | 988 gaim_marshal_POINTER__POINTER_POINTER(GaimCallback cb, va_list args, void *data, |
959 void **return_val) | 989 void **return_val) |
960 { | 990 { |
961 gpointer ret_val; | 991 gpointer ret_val; |
962 void *arg1 = va_arg(args, void *); | 992 void *arg1 = va_arg(args, void *); |