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-packets.c
diff --git
a/lib/graph/notification/discarded-packets.c
b/lib/graph/notification/discarded-packets.c
index 5d9b0ec3feb47dd9a429005341091359864a90bc..7cd85c13cb456e8daecf09d557c3c2e3c68dd475 100644
(file)
--- a/
lib/graph/notification/discarded-packets.c
+++ b/
lib/graph/notification/discarded-packets.c
@@
-26,18
+26,18
@@
#include <stdint.h>
struct bt_clock_value *
#include <stdint.h>
struct bt_clock_value *
-bt_notification_discarded_packets_
get
_begin_clock_value(
+bt_notification_discarded_packets_
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_PACKETS, notification);
}
struct bt_clock_value *
BT_NOTIFICATION_TYPE_DISCARDED_PACKETS, notification);
}
struct bt_clock_value *
-bt_notification_discarded_packets_
get
_end_clock_value(
+bt_notification_discarded_packets_
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_PACKETS, notification);
}
BT_NOTIFICATION_TYPE_DISCARDED_PACKETS, notification);
}
@@
-48,9
+48,9
@@
int64_t bt_notification_discarded_packets_get_count(
BT_NOTIFICATION_TYPE_DISCARDED_PACKETS, notification);
}
BT_NOTIFICATION_TYPE_DISCARDED_PACKETS, notification);
}
-struct bt_stream *bt_notification_discarded_packets_
get
_stream(
+struct bt_stream *bt_notification_discarded_packets_
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_PACKETS, notification);
}
BT_NOTIFICATION_TYPE_DISCARDED_PACKETS, notification);
}
This page took
0.024592 seconds
and
4
git commands to generate.