Mercurial > pidgin.yaz
diff libpurple/protocols/silc10/silc.c @ 23111:718a9c287839
Use up the last padding for PurplePluginProtocolInfo in a way that allows
adding newer functions without causing any major version bump. This is
based on the changes from the .vv branch. I changed the
PURPLE_PROTOCOL_PLUGIN_HAS_FUNC macro a little so it can be used for the
old as well as the new functions. Someone should confirm this looks OK.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 05 May 2008 06:19:46 +0000 |
parents | 3d092dd95ec1 |
children | bb41bdce8981 |
line wrap: on
line diff
--- a/libpurple/protocols/silc10/silc.c Wed Apr 30 21:09:59 2008 +0000 +++ b/libpurple/protocols/silc10/silc.c Mon May 05 06:19:46 2008 +0000 @@ -1800,11 +1800,10 @@ NULL, /* send_raw */ NULL, /* roomlist_room_serialize */ - /* padding */ NULL, NULL, NULL, - NULL + sizeof(PurplePluginProtocolInfo), /* struct_size */ }; static PurplePluginInfo info =