projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: introduce bt_g_array_index
[babeltrace.git]
/
src
/
plugins
/
ctf
/
common
/
bfcr
/
bfcr.cpp
diff --git
a/src/plugins/ctf/common/bfcr/bfcr.cpp
b/src/plugins/ctf/common/bfcr/bfcr.cpp
index 3c204b6a3a20287b9918bc480b56fe33531c6cae..7014f10201b5a696d914958c93a89713091d8846 100644
(file)
--- a/
src/plugins/ctf/common/bfcr/bfcr.cpp
+++ b/
src/plugins/ctf/common/bfcr/bfcr.cpp
@@
-238,7
+238,7
@@
static int stack_push(struct stack *stack, struct ctf_field_class *base_class, s
g_array_set_size(stack->entries, stack->size + 1);
}
g_array_set_size(stack->entries, stack->size + 1);
}
- entry = &g_array_index(stack->entries, struct stack_entry, stack->size);
+ entry = &
bt_
g_array_index(stack->entries, struct stack_entry, stack->size);
entry->base_class = base_class;
entry->base_len = base_len;
entry->index = 0;
entry->base_class = base_class;
entry->base_len = base_len;
entry->index = 0;
@@
-335,7
+335,7
@@
static inline struct stack_entry *stack_top(struct stack *stack)
{
BT_ASSERT_DBG(stack);
BT_ASSERT_DBG(stack_size(stack));
{
BT_ASSERT_DBG(stack);
BT_ASSERT_DBG(stack_size(stack));
- return &g_array_index(stack->entries, struct stack_entry, stack->size - 1);
+ return &
bt_
g_array_index(stack->entries, struct stack_entry, stack->size - 1);
}
static inline size_t available_bits(struct bt_bfcr *bfcr)
}
static inline size_t available_bits(struct bt_bfcr *bfcr)
This page took
0.03437 seconds
and
4
git commands to generate.