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

Rename p_filetypes->detect_from_filename() to detect_from_file() in

the plugin API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2808 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 4de845a2
......@@ -2,6 +2,9 @@
* src/filetypes.c:
Only compile filetypes_detect_from_file() if HAVE_PLUGINS is defined.
* src/plugindata.h:
Rename p_filetypes->detect_from_filename() to detect_from_file() in
the plugin API.
2008-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -36,7 +36,7 @@
/* The API version should be incremented whenever any plugin data types below are
* modified or appended to. */
static const gint api_version = 81;
static const gint api_version = 82;
/* The ABI version should be incremented whenever existing fields in the plugin
* data types below have to be changed or reordered. It should stay the same if fields
......@@ -397,7 +397,7 @@ HighlightingFuncs;
/* See filetypes.h */
typedef struct FiletypeFuncs
{
GeanyFiletype* (*detect_from_filename) (const gchar *utf8_filename);
GeanyFiletype* (*detect_from_file) (const gchar *utf8_filename);
GeanyFiletype* (*lookup_by_name) (const gchar *name);
}
FiletypeFuncs;
......
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