Fix: C++ support to API header files
[babeltrace.git] / include / babeltrace / clock-types.h
index 438d335f7a3ecf196fc27a815f9d628a20fae91d..e1fbfb7d405ca38d95a8536a7038137e6b29f2db 100644 (file)
  * all copies or substantial portions of the Software.
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * The Babeltrace clock representations
  */
@@ -30,4 +34,8 @@ enum bt_clock_type {
        BT_CLOCK_REAL,
 };
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _BABELTRACE_CLOCK_TYPES_H */
This page took 0.023261 seconds and 4 git commands to generate.