libpurple/plugins/helloworld.c

branch
soc.2013.gobjectification.plugins
changeset 36742
5d43951cabc0
parent 36740
569f0d81876a
child 36782
64936dae41a3
equal deleted inserted replaced
36741:c96edeed7ea7 36742:5d43951cabc0
65 65
66 /* we tell libpurple in the PurplePluginInfo struct to call this function to 66 /* we tell libpurple in the PurplePluginInfo struct to call this function to
67 * get a list of plugin actions to use for the plugin. This function gives 67 * get a list of plugin actions to use for the plugin. This function gives
68 * libpurple that list of actions. */ 68 * libpurple that list of actions. */
69 static GList * 69 static GList *
70 plugin_actions (PurplePlugin * plugin, gpointer context) 70 plugin_actions (PurplePlugin * plugin)
71 { 71 {
72 /* some C89 (a.k.a. ANSI C) compilers will warn if any variable declaration 72 /* some C89 (a.k.a. ANSI C) compilers will warn if any variable declaration
73 * includes an initilization that calls a function. To avoid that, we 73 * includes an initilization that calls a function. To avoid that, we
74 * generally initialize our variables first with constant values like NULL 74 * generally initialize our variables first with constant values like NULL
75 * or 0 and assign to them with function calls later */ 75 * or 0 and assign to them with function calls later */

mercurial