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-07-05 15:54:40 +0200
commit1a741e7978380669b0a876a594d5d4b5691dcc80 (patch)
treecb6523fe69dfd7263b43034c271eba523f5ebff5 /include/afb/afb-binding.h
parent7a21c8546d6762e18cd1bf5405e16f2195aa5f0a (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
/***************************************************************************************************/