diff options
Diffstat (limited to 'navit/plugin.h')
-rw-r--r-- | navit/plugin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/navit/plugin.h b/navit/plugin.h index 4687a6460..03fb4ad5a 100644 --- a/navit/plugin.h +++ b/navit/plugin.h @@ -75,22 +75,22 @@ plugin_register_##name(PLUGIN_PROTO((*func),__VA_ARGS__)) \ { \ if (plugin_##name##_func) \ (*plugin_##name##_func)(__VA_ARGS__); \ -} +} #define PLUGIN_FUNC1(name,t1,p1) \ PLUGIN_PROTO((*plugin_##name##_func),t1 p1); \ void plugin_call_##name(t1 p1) PLUGIN_CALL(name,p1) \ -PLUGIN_REGISTER(name,t1 p1) +PLUGIN_REGISTER(name,t1 p1) #define PLUGIN_FUNC3(name,t1,p1,t2,p2,t3,p3) \ PLUGIN_PROTO((*plugin_##name##_func),t1 p1,t2 p2,t3 p3); \ void plugin_call_##name(t1 p1,t2 p2, t3 p3) PLUGIN_CALL(name,p1,p2,p3) \ -PLUGIN_REGISTER(name,t1 p1,t2 p2,t3 p3) +PLUGIN_REGISTER(name,t1 p1,t2 p2,t3 p3) #define PLUGIN_FUNC4(name,t1,p1,t2,p2,t3,p3,t4,p4) \ PLUGIN_PROTO((*plugin_##name##_func),t1 p1,t2 p2,t3 p3,t4 p4); \ void plugin_call_##name(t1 p1,t2 p2, t3 p3, t4 p4) PLUGIN_CALL(name,p1,p2,p3,p4) \ -PLUGIN_REGISTER(name,t1 p1,t2 p2,t3 p3,t4 p4) +PLUGIN_REGISTER(name,t1 p1,t2 p2,t3 p3,t4 p4) struct name_val { char *name; @@ -116,7 +116,7 @@ void * \ plugin_get_category_##category(const char *name) \ { \ return plugin_get_category(plugin_category_##category, #category, name); \ -} +} #else #define PLUGIN_FUNC1(name,t1,p1) \ |