diff libpurple/protocols/irc/irc.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 252b96b6a32c
children bb41bdce8981
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c	Wed Apr 30 21:09:59 2008 +0000
+++ b/libpurple/protocols/irc/irc.c	Mon May 05 06:19:46 2008 +0000
@@ -905,7 +905,7 @@
 	NULL,
 	NULL,
 	NULL,
-	NULL
+	sizeof(PurplePluginProtocolInfo),       /* struct_size */
 };
 
 static gboolean load_plugin (PurplePlugin *plugin) {