Kaydet (Commit) 70258a9e authored tarafından Nick Treleaven's avatar Nick Treleaven

Add example of using '#if GEANY_API_VERSION >= 200'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5424 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 7814bb2a
......@@ -44,7 +44,13 @@
/** The Application Programming Interface (API) version, incremented
* whenever any plugin data types are modified or appended to. */
* whenever any plugin data types are modified or appended to.
*
* You can protect code that needs a higher API than e.g. 200 with:
* @code #if GEANY_API_VERSION >= 200
* some_newer_function();
* #endif @endcode
*/
#define GEANY_API_VERSION 200
/** The Application Binary Interface (ABI) version, incremented whenever
......
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