projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make trace IR API const-correct
[babeltrace.git]
/
include
/
babeltrace
/
trace-ir
/
trace-internal.h
diff --git
a/include/babeltrace/trace-ir/trace-internal.h
b/include/babeltrace/trace-ir/trace-internal.h
index 06653092ca95d40259cb877c3ab02bc3fe245e26..fcf1bd29ebad6d5e83f93bb80dc009b2c7b1cee0 100644
(file)
--- a/
include/babeltrace/trace-ir/trace-internal.h
+++ b/
include/babeltrace/trace-ir/trace-internal.h
@@
-86,7
+86,7
@@
struct bt_trace {
};
BT_HIDDEN
};
BT_HIDDEN
-void _bt_trace_freeze(struct bt_trace *trace);
+void _bt_trace_freeze(
const
struct bt_trace *trace);
#ifdef BT_DEV_MODE
# define bt_trace_freeze _bt_trace_freeze
#ifdef BT_DEV_MODE
# define bt_trace_freeze _bt_trace_freeze
@@
-98,7
+98,7
@@
BT_HIDDEN
void bt_trace_add_stream(struct bt_trace *trace, struct bt_stream *stream);
BT_HIDDEN
void bt_trace_add_stream(struct bt_trace *trace, struct bt_stream *stream);
BT_HIDDEN
-uint64_t bt_trace_get_automatic_stream_id(struct bt_trace *trace,
- struct bt_stream_class *stream_class);
+uint64_t bt_trace_get_automatic_stream_id(
const
struct bt_trace *trace,
+
const
struct bt_stream_class *stream_class);
#endif /* BABELTRACE_TRACE_IR_TRACE_INTERNAL_H */
#endif /* BABELTRACE_TRACE_IR_TRACE_INTERNAL_H */
This page took
0.043899 seconds
and
4
git commands to generate.