Browse Source

add RACK_PLUGIN_INIT_VERSION() macro

pull/1639/head
bsp2 6 years ago
parent
commit
e720293f77
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      include/plugin.hpp

+ 1
- 0
include/plugin.hpp View File

@@ -99,6 +99,7 @@ RACK_PLUGIN_EXPORT void init_plugin(rack::Plugin *p)

#define RACK_PLUGIN_INIT_WEBSITE(url) p->website = url
#define RACK_PLUGIN_INIT_MANUAL(url) p->manual = url
#define RACK_PLUGIN_INIT_VERSION(ver) p->version = ver

#define RACK_PLUGIN_MODEL_DECLARE(pluginname, modelname) extern Model *create_model_##pluginname##_##modelname##(void)
#define RACK_PLUGIN_MODEL_INIT(pluginname, modelname) Model *create_model_##pluginname##_##modelname##(void)


Loading…
Cancel
Save