Kaydet (Commit) 2e878dc9 authored tarafından Nick Treleaven's avatar Nick Treleaven

Edit wording/section names.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4535 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst a81094c1
...@@ -481,24 +481,24 @@ void plugin_cleanup(void) ...@@ -481,24 +481,24 @@ void plugin_cleanup(void)
} }
* @endcode * @endcode
* *
* If you think this plugin seems not to implement any functionality right now and only wastes
* some memory, you are right. But it should compile and load/unload in Geany nicely.
* Now you have the very basic layout of a new plugin. Great, isn't it?
*
* @section building Building * @section building Building
* *
* First make plugin.o:
*
* @code gcc -c plugin.c -fPIC `pkg-config --cflags geany` @endcode * @code gcc -c plugin.c -fPIC `pkg-config --cflags geany` @endcode
* *
* to make plugin.o, then: * Then make the plugin library plugin.so (or plugin.dll on Windows):
* *
* @code gcc plugin.o -o plugin.so -shared `pkg-config --libs geany` @endcode * @code gcc plugin.o -o plugin.so -shared `pkg-config --libs geany` @endcode
* *
* to make the plugin library plugin.so (or plugin.dll on Windows). * If all went OK, put the library into one of the paths Geany looks for plugins,
* * e.g. $prefix/lib/geany. See @ref paths "Installation paths" for details.
* Then just put the library into one of the paths Geany looks for plugins in, e.g. $prefix/lib/geany.
* See @ref paths "Installation paths" for details.
* *
* @section realfunc Real functionality * @section realfunc Adding functionality
*
* If you think this plugin seems not to implement any functionality right now and only wastes
* some memory, you are right. But it should compile and load/unload in Geany nicely.
* Now you have the very basic layout of a new plugin. Great, isn't it?
* *
* Let's go on and implement some real functionality. * Let's go on and implement some real functionality.
* *
...@@ -573,7 +573,8 @@ void plugin_cleanup(void) ...@@ -573,7 +573,8 @@ void plugin_cleanup(void)
* memory once your plugin is unloaded, so you don't leave any memory leaks. * memory once your plugin is unloaded, so you don't leave any memory leaks.
* Once this is done, your first plugin is ready. Congratulations! * Once this is done, your first plugin is ready. Congratulations!
* *
* The complete listing (without comments): * @section listing Complete listing (without comments)
*
* @code * @code
#include "geanyplugin.h" #include "geanyplugin.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment