projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: CTF writer: make library have its own public `types.h`
[babeltrace.git]
/
src
/
ctf-writer
/
resolve.c
diff --git
a/src/ctf-writer/resolve.c
b/src/ctf-writer/resolve.c
index 0d5e1c5f40dc07470546d7877ff85553f5d8c564..bc6ede5fc95d1c782a4f7a60085c89050ffb0a73 100644
(file)
--- a/
src/ctf-writer/resolve.c
+++ b/
src/ctf-writer/resolve.c
@@
-179,7
+179,7
@@
end:
* Checks whether or not `stack` is empty.
*/
static
* Checks whether or not `stack` is empty.
*/
static
-bt_bool type_stack_empty(type_stack *stack)
+bt_
ctf_
bool type_stack_empty(type_stack *stack)
{
return stack->len == 0;
}
{
return stack->len == 0;
}
@@
-402,7
+402,7
@@
int ptokens_to_field_path(GList *ptokens, struct bt_ctf_field_path *field_path,
{
int ret = 0;
GList *cur_ptoken = ptokens;
{
int ret = 0;
GList *cur_ptoken = ptokens;
- bt_
bool first_level_done = BT
_FALSE;
+ bt_
ctf_bool first_level_done = BT_CTF
_FALSE;
/* Get our own reference */
bt_ctf_object_get_ref(type);
/* Get our own reference */
bt_ctf_object_get_ref(type);
@@
-445,7
+445,7
@@
int ptokens_to_field_path(GList *ptokens, struct bt_ctf_field_path *field_path,
/* Next path token */
cur_ptoken = g_list_next(cur_ptoken);
/* Next path token */
cur_ptoken = g_list_next(cur_ptoken);
- first_level_done = BT_TRUE;
+ first_level_done = BT_
CTF_
TRUE;
}
/* Create new field path entry */
}
/* Create new field path entry */
@@
-558,7
+558,7
@@
int relative_ptokens_to_field_path(GList *ptokens,
int tail_field_path_len =
tail_field_path->indexes->len;
int tail_field_path_len =
tail_field_path->indexes->len;
- while (BT_TRUE) {
+ while (BT_
CTF_
TRUE) {
struct bt_ctf_field_type_common *cur_type =
type_stack_at(ctx->type_stack, i)->type;
int index = type_stack_at(
struct bt_ctf_field_type_common *cur_type =
type_stack_at(ctx->type_stack, i)->type;
int index = type_stack_at(
@@
-842,7
+842,7
@@
int get_field_paths_lca_index(struct bt_ctf_field_path *field_path1,
field_path1_len = field_path1->indexes->len;
field_path2_len = field_path2->indexes->len;
field_path1_len = field_path1->indexes->len;
field_path2_len = field_path2->indexes->len;
- while (BT_TRUE) {
+ while (BT_
CTF_
TRUE) {
int target_index, ctx_index;
if (lca_index == field_path2_len ||
int target_index, ctx_index;
if (lca_index == field_path2_len ||
This page took
0.02429 seconds
and
4
git commands to generate.