diff libpurple/protocols/simple/simple.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 c65c96e231b5
children bb41bdce8981
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c	Wed Apr 30 21:09:59 2008 +0000
+++ b/libpurple/protocols/simple/simple.c	Mon May 05 06:19:46 2008 +0000
@@ -2052,7 +2052,7 @@
 	NULL,
 	NULL,
 	NULL,
-	NULL
+	sizeof(PurplePluginProtocolInfo),       /* struct_size */
 };