cpp-common/bt2: don't use wrap in bindings code
[babeltrace.git] / src / common / assert.h
index 77c35e2e14700547de416270a8d37f43739d9a58..52349e6404cd469865a3da837866110b75997305 100644 (file)
 
 #include "common/macros.h"
 
-BT_HIDDEN
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern void bt_common_assert_failed(const char *file, int line,
                const char *func, const char *assertion)
                __attribute__((noreturn));
@@ -56,4 +59,8 @@ extern void bt_common_assert_failed(const char *file, int line,
 # define BT_ASSERT_DBG_FUNC    __attribute__((unused))
 #endif /* BT_DEBUG_MODE */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* BABELTRACE_ASSERT_INTERNAL_H */
This page took 0.023385 seconds and 4 git commands to generate.