summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deadbeef.h b/deadbeef.h
index b9d88a12..06119a4c 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -87,12 +87,12 @@ extern "C" {
// backwards compat macro
#define DB_PLUGIN_SET_API_VERSION DDB_PLUGIN_SET_API_VERSION
+#define PLUG_TEST_COMPAT(plug,x,y) ((plug)->version_major == (x) && (plug)->version_minor >= (y))
+
#define DDB_REQUIRE_API_VERSION(x,y)\
.plugin.api_vmajor = x,\
.plugin.api_vminor = y,
-#define MAX_DECODER_PLUGINS 50
-
////////////////////////////
// playlist structures