/soc/2013/ankitkv/gobjectification: 190c4bf5285a: Provide a link...
Ankit Vani
a at nevitus.org
Sun Feb 2 16:36:15 EST 2014
Changeset: 190c4bf5285a28f443de7ca8708b64f0d9f86d9c
Author: Ankit Vani <a at nevitus.org>
Date: 2014-02-03 03:05 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/190c4bf5285a
Description:
Provide a link to PURPLE_PLUGIN_INIT() in C plugins tutorial
diffstat:
doc/reference/libpurple/tut_c_plugins.xml | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (32 lines):
diff --git a/doc/reference/libpurple/tut_c_plugins.xml b/doc/reference/libpurple/tut_c_plugins.xml
--- a/doc/reference/libpurple/tut_c_plugins.xml
+++ b/doc/reference/libpurple/tut_c_plugins.xml
@@ -106,7 +106,7 @@ PURPLE_PLUGIN_INIT(hello_world, plugin_q
plugin system, and returns various information about the plugin in form of a
newly created <literal>PurplePluginInfo</literal> instance. For a list of all
available properties, see
- <link linkend="purple-plugin-info-new"><function>purple_plugin_info_new</function></link>.
+ <link linkend="purple-plugin-info-new"><function>purple_plugin_info_new()</function></link>.
</para>
<para>
@@ -122,12 +122,13 @@ PURPLE_PLUGIN_INIT(hello_world, plugin_q
</para>
<para>
- Finally we have <literal>PURPLE_PLUGIN_INIT()</literal>.
- <literal>PURPLE_PLUGIN_INIT</literal> is a macro that every plugin MUST have.
- <literal>PURPLE_PLUGIN_INIT</literal> tells libpurple some basic things about
- your plugin, like what name to use if the plugin is compiled statically, and
- the <literal>plugin_query</literal>, <literal>plugin_load</literal>, and
- <literal>plugin_unload</literal> functions.
+ Finally we have
+ <link linkend="PURPLE-PLUGIN-INIT:CAPS"><function>PURPLE_PLUGIN_INIT()</function></link>.
+ It is a macro that every plugin MUST have. It tells libpurple some basic
+ things about your plugin, like what name to use if the plugin is compiled
+ statically, along with the <literal>plugin_query</literal>,
+ <literal>plugin_load</literal>, and <literal>plugin_unload</literal>
+ functions.
</para>
</sect2>
</chapter>
More information about the Commits
mailing list