ref.h: add C++ guards
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sun, 21 Feb 2016 08:23:46 +0000 (03:23 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 22 Feb 2016 20:25:24 +0000 (15:25 -0500)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/ref.h

index 04fd8512ca2f6426140ea00220b63a5e3b0a280e..63cf2f0208cbb3e29bd0e3fec3fcb981e338976c 100644 (file)
  * SOFTWARE.
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * BT_PUT: calls bt_put() with a variable, then sets this variable to NULL.
  *
@@ -97,4 +101,8 @@ void *bt_get(void *obj);
  */
 void bt_put(void *obj);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* BABELTRACE_REF_H */
This page took 0.025854 seconds and 4 git commands to generate.