summaryrefslogtreecommitdiff
path: root/csid.cpp
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-06 17:32:03 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-06 17:32:03 +0200
commit37e7691e7c1956586ff5c9302213cf1b37f235c9 (patch)
tree0ad49fa72fa65cc50bb99124239276aac1a4bb91 /csid.cpp
parent0eb27da8f4f33b99b5574d3eb1094e0ee6515c7c (diff)
added plugin versioning
Diffstat (limited to 'csid.cpp')
-rw-r--r--csid.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/csid.cpp b/csid.cpp
index 61cb846c..91037057 100644
--- a/csid.cpp
+++ b/csid.cpp
@@ -51,7 +51,10 @@ const char *filetypes[] = { "SID", NULL };
// define plugin interface
static DB_decoder_t plugin = {
{ // plugin
+ // C macro won't work here, so do it by hand
/* .plugin.type = */DB_PLUGIN_DECODER,
+ /* .api_vmajor = */DB_API_VERSION_MAJOR,
+ /* .api_vminor = */DB_API_VERSION_MINOR,
/* .plugin.version_major = */0,
/* .plugin.version_minor = */1,
/* .inactive = */0,