projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename bt_ctf_type_id -> bt_ctf_field_type_id (and the enumerators)
[babeltrace.git]
/
lib
/
ctf-ir
/
validation.c
diff --git
a/lib/ctf-ir/validation.c
b/lib/ctf-ir/validation.c
index dc2a3a931cc0ba91714c828ae573cfbf7038b534..ea29c530f48748d0d69a49593958402a68752810 100644
(file)
--- a/
lib/ctf-ir/validation.c
+++ b/
lib/ctf-ir/validation.c
@@
-190,15
+190,15
@@
static
int field_type_contains_sequence_or_variant_ft(struct bt_ctf_field_type *type)
{
int ret = 0;
int field_type_contains_sequence_or_variant_ft(struct bt_ctf_field_type *type)
{
int ret = 0;
- enum bt_ctf_type_id type_id = bt_ctf_field_type_get_type_id(type);
+ enum bt_ctf_
field_
type_id type_id = bt_ctf_field_type_get_type_id(type);
switch (type_id) {
switch (type_id) {
- case BT_CTF_TYPE_ID_SEQUENCE:
- case BT_CTF_TYPE_ID_VARIANT:
+ case BT_CTF_
FIELD_
TYPE_ID_SEQUENCE:
+ case BT_CTF_
FIELD_
TYPE_ID_VARIANT:
ret = 1;
goto end;
ret = 1;
goto end;
- case BT_CTF_TYPE_ID_ARRAY:
- case BT_CTF_TYPE_ID_STRUCT:
+ case BT_CTF_
FIELD_
TYPE_ID_ARRAY:
+ case BT_CTF_
FIELD_
TYPE_ID_STRUCT:
{
int i;
int field_count = bt_ctf_field_type_get_field_count(type);
{
int i;
int field_count = bt_ctf_field_type_get_field_count(type);
This page took
0.023163 seconds
and
4
git commands to generate.