Fix: Documentation cleanup
[babeltrace.git] / include / babeltrace / trace-handle.h
index f0e23125d1a86511bfc3e9b3efba015702c31ead..f4c44065bf6e8ef0654d7992a44081d78674b471 100644 (file)
 #include <stdint.h>
 #include <babeltrace/clock-types.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * trace_handle : unique identifier of a trace
  *
@@ -50,7 +54,7 @@ uint64_t bt_trace_handle_get_timestamp_begin(struct bt_context *ctx,
 
 /*
  * bt_trace_handle_get_timestamp_end : returns the destruction timestamp
- * (in anoseconds or cycles depending on type) of the buffers of a trace
+ * (in nanoseconds or cycles depending on type) of the buffers of a trace
  * or -1ULL on error.
  */
 uint64_t bt_trace_handle_get_timestamp_end(struct bt_context *ctx,
@@ -63,4 +67,8 @@ uint64_t bt_trace_handle_get_timestamp_end(struct bt_context *ctx,
  */
 int bt_ctf_event_get_handle_id(const struct bt_ctf_event *event);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _BABELTRACE_TRACE_HANDLE_H */
This page took 0.028719 seconds and 4 git commands to generate.