projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: add "borrow" functions where "get" functions exist
[babeltrace.git]
/
lib
/
graph
/
notification
/
discarded-events.c
diff --git
a/lib/graph/notification/discarded-events.c
b/lib/graph/notification/discarded-events.c
index 247946789f42cc22f21bab445c0d1d5da414dee7..166ca8bdfaa3973ba6b37b4418bb856d8d349f9a 100644
(file)
--- a/
lib/graph/notification/discarded-events.c
+++ b/
lib/graph/notification/discarded-events.c
@@
-26,18
+26,18
@@
#include <stdint.h>
struct bt_clock_value *
#include <stdint.h>
struct bt_clock_value *
-bt_notification_discarded_events_
get
_begin_clock_value(
+bt_notification_discarded_events_
borrow
_begin_clock_value(
struct bt_notification *notification)
{
struct bt_notification *notification)
{
- return bt_notification_discarded_elements_
get
_begin_clock_value(
+ return bt_notification_discarded_elements_
borrow
_begin_clock_value(
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
struct bt_clock_value *
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
struct bt_clock_value *
-bt_notification_discarded_events_
get
_end_clock_value(
+bt_notification_discarded_events_
borrow
_end_clock_value(
struct bt_notification *notification)
{
struct bt_notification *notification)
{
- return bt_notification_discarded_elements_
get
_end_clock_value(
+ return bt_notification_discarded_elements_
borrow
_end_clock_value(
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
@@
-48,9
+48,9
@@
int64_t bt_notification_discarded_events_get_count(
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
-struct bt_stream *bt_notification_discarded_events_
get
_stream(
+struct bt_stream *bt_notification_discarded_events_
borrow
_stream(
struct bt_notification *notification)
{
struct bt_notification *notification)
{
- return bt_notification_discarded_elements_
get
_stream(
+ return bt_notification_discarded_elements_
borrow
_stream(
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
This page took
0.02546 seconds
and
4
git commands to generate.