summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-binding.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-30 17:17:56 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-30 18:01:58 +0200
commit43a983c688b235bf28c20c960b811dccc489758c (patch)
tree2eb10cddd4040446a1dab90fcd2071362551b7d9 /include/afb/afb-binding.h
parentd3cb597b2161a4a7c5494cb570e47b082a80c316 (diff)
Bindings V2: enforce prefix AFB_ to logging macros
This might break many codes but it is better in the long term. Change-Id: I346d13f0a6ef6b211edf25844489405351548299
Diffstat (limited to 'include/afb/afb-binding.h')
-rw-r--r--include/afb/afb-binding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/afb/afb-binding.h b/include/afb/afb-binding.h
index 69be174a..45cff649 100644
--- a/include/afb/afb-binding.h
+++ b/include/afb/afb-binding.h
@@ -243,6 +243,9 @@ typedef struct afb_service_itf afb_service_itf;
# define afb_verbose_info() (afb_get_verbosity() >= 2)
# define afb_verbose_debug() (afb_get_verbosity() >= 3)
+# if !defined(AFB_BINDING_PRAGMA_KEEP_VERBOSE_UNPREFIX) && !defined(AFB_BINDING_PRAGMA_NO_VERBOSE_UNPREFIX)
+# define AFB_BINDING_PRAGMA_NO_VERBOSE_UNPREFIX
+# endif
#endif
/***************************************************************************************************/