projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not use `bool` type; use new `bt_bool` instead
[babeltrace.git]
/
lib
/
ctf-ir
/
stream.c
diff --git
a/lib/ctf-ir/stream.c
b/lib/ctf-ir/stream.c
index 84d7c6840ba1b6ba48694a59f5910b9b79ffdd99..67b6ea3b92a1841f9a0e5f65a1a3e8bba72c28b0 100644
(file)
--- a/
lib/ctf-ir/stream.c
+++ b/
lib/ctf-ir/stream.c
@@
-919,13
+919,13
@@
int bt_ctf_stream_flush(struct bt_ctf_stream *stream)
struct bt_ctf_stream_pos packet_context_pos;
struct bt_ctf_trace *trace;
enum bt_ctf_byte_order native_byte_order;
struct bt_ctf_stream_pos packet_context_pos;
struct bt_ctf_trace *trace;
enum bt_ctf_byte_order native_byte_order;
- bool empty_packet;
+ b
t_b
ool empty_packet;
uint64_t packet_size_bits;
struct {
uint64_t packet_size_bits;
struct {
- bool timestamp_begin;
- bool timestamp_end;
- bool content_size;
- bool packet_size;
+ b
t_b
ool timestamp_begin;
+ b
t_b
ool timestamp_end;
+ b
t_b
ool content_size;
+ b
t_b
ool packet_size;
} auto_set_fields = { 0 };
if (!stream || stream->pos.fd < 0) {
} auto_set_fields = { 0 };
if (!stream || stream->pos.fd < 0) {
@@
-1201,7
+1201,7
@@
void bt_ctf_stream_destroy(struct bt_object *obj)
static
int _set_structure_field_integer(struct bt_ctf_field *structure, char *name,
static
int _set_structure_field_integer(struct bt_ctf_field *structure, char *name,
- uint64_t value, bool force)
+ uint64_t value, b
t_b
ool force)
{
int ret = 0;
struct bt_ctf_field_type *field_type = NULL;
{
int ret = 0;
struct bt_ctf_field_type *field_type = NULL;
@@
-1253,7
+1253,7
@@
static
int set_structure_field_integer(struct bt_ctf_field *structure, char *name,
uint64_t value)
{
int set_structure_field_integer(struct bt_ctf_field *structure, char *name,
uint64_t value)
{
- return _set_structure_field_integer(structure, name, value,
true
);
+ return _set_structure_field_integer(structure, name, value,
BT_TRUE
);
}
/*
}
/*
@@
-1266,7
+1266,7
@@
static
int try_set_structure_field_integer(struct bt_ctf_field *structure, char *name,
uint64_t value)
{
int try_set_structure_field_integer(struct bt_ctf_field *structure, char *name,
uint64_t value)
{
- return _set_structure_field_integer(structure, name, value,
false
);
+ return _set_structure_field_integer(structure, name, value,
BT_FALSE
);
}
const char *bt_ctf_stream_get_name(struct bt_ctf_stream *stream)
}
const char *bt_ctf_stream_get_name(struct bt_ctf_stream *stream)
This page took
0.03311 seconds
and
4
git commands to generate.