summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-binding-v3.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-07-19 14:09:17 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-07-19 16:33:08 +0200
commitb798adf312fe0510d8a26dec7f57dacfefcd275c (patch)
tree066ee6a8380c4e25850719e206031ffb98f84017 /include/afb/afb-binding-v3.h
parentec39d7d5e370e75a29fc7cc01607bcf8bc5b18af (diff)
Fix errors in migration to V3
Fix a tiny error in the migration script and improve it. Fix declaration of afb_daemon_get... without args for binding V3 compatibility. Fix declaration of afb_api_event_handler_... Fix the correct URL to the sed script: valid: https://git.automotivelinux.org/src/app-framework-binder/plain/docs/migration-to-binding-v3.sed invalid: https://git.automotivelinux.org/src/app-framework-binder/tree/docs/migration-to-binding-v3.sed Bug-AGL: SPEC-1595 Change-Id: I245b20a9c14634a94c69420312afbd97628bc750 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-binding-v3.h')
-rw-r--r--include/afb/afb-binding-v3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/afb/afb-binding-v3.h b/include/afb/afb-binding-v3.h
index 52a3a8d2..9df2eb99 100644
--- a/include/afb/afb-binding-v3.h
+++ b/include/afb/afb-binding-v3.h
@@ -245,9 +245,9 @@ extern const struct afb_binding_v3 afbBindingV3;
#define afb_get_logmask_v3() (afbBindingV3root->logmask)
#define afb_get_verbosity_v3() AFB_SYSLOG_LEVEL_TO_VERBOSITY(_afb_verbomask_to_upper_level_(afbBindingV3root->logmask))
-#define afb_daemon_get_event_loop_v3(...) afb_api_get_event_loop(afbBindingV3root,__VA_ARGS__)
-#define afb_daemon_get_user_bus_v3(...) afb_api_get_user_bus(afbBindingV3root,__VA_ARGS__)
-#define afb_daemon_get_system_bus_v3(...) afb_api_get_system_bus(afbBindingV3root,__VA_ARGS__)
+#define afb_daemon_get_event_loop_v3() afb_api_get_event_loop(afbBindingV3root)
+#define afb_daemon_get_user_bus_v3() afb_api_get_user_bus(afbBindingV3root)
+#define afb_daemon_get_system_bus_v3() afb_api_get_system_bus(afbBindingV3root)
#define afb_daemon_broadcast_event_v3(...) afb_api_broadcast_event(afbBindingV3root,__VA_ARGS__)
#define afb_daemon_make_event_v3(...) afb_api_make_event(afbBindingV3root,__VA_ARGS__)
#define afb_daemon_verbose_v3(...) afb_api_verbose(afbBindingV3root,__VA_ARGS__)