X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Ftrace-handle.h;h=f4c44065bf6e8ef0654d7992a44081d78674b471;hb=9b3c1d6f8e01603488e317ffef7a8e3c15c98459;hp=f0e23125d1a86511bfc3e9b3efba015702c31ead;hpb=03798a93f959f6c694fe98f5647481947607c604;p=babeltrace.git diff --git a/include/babeltrace/trace-handle.h b/include/babeltrace/trace-handle.h index f0e23125..f4c44065 100644 --- a/include/babeltrace/trace-handle.h +++ b/include/babeltrace/trace-handle.h @@ -25,6 +25,10 @@ #include #include +#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 */