Skip to content
Snippets Groups Projects
Commit bf47c993 authored by Mark Grondona's avatar Mark Grondona
Browse files

Fix definition of SPANK_PLUGIN macro

parent c4e07f7f
No related branches found
No related tags found
No related merge requests found
......@@ -169,8 +169,8 @@ END_C_DECLS
* loader.
*/
#define SPANK_PLUGIN(__name, __ver) \
const char plugin_name [] = "__name"; \
const char plugin_type [] = "spank/__name"; \
const char plugin_name [] = #__name; \
const char plugin_type [] = "spank"; \
const unsigned int plugin_version = __ver;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment