Add extern "C" to support linking userspace RCU library with C++ applications
[urcu.git] / urcu-bp.h
index d42a2cb24f0739f5bd6cef39328775b106cecace..c0a419f99a1a54813cd8f3a5314e43fec5b80c87 100644 (file)
--- a/urcu-bp.h
+++ b/urcu-bp.h
  */
 #include <urcu-pointer.h>
 
  */
 #include <urcu-pointer.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Important !
  *
 /*
  * Important !
  *
@@ -97,4 +101,8 @@ static inline void urcu_init(void)
 {
 }
 
 {
 }
 
+#ifdef __cplusplus 
+}
+#endif
+
 #endif /* _URCU_BP_H */
 #endif /* _URCU_BP_H */
This page took 0.021923 seconds and 4 git commands to generate.