projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: rename include dir to babeltrace2
[babeltrace.git]
/
plugins
/
ctf
/
common
/
metadata
/
ctf-meta-update-text-array-sequence.c
diff --git
a/plugins/ctf/common/metadata/ctf-meta-update-text-array-sequence.c
b/plugins/ctf/common/metadata/ctf-meta-update-text-array-sequence.c
index 1253f4a55ded2d4e0b5a3d042d95d933174a11b3..29d231f07e182c2ff06ca41e0f39ab8daa9f0f2a 100644
(file)
--- a/
plugins/ctf/common/metadata/ctf-meta-update-text-array-sequence.c
+++ b/
plugins/ctf/common/metadata/ctf-meta-update-text-array-sequence.c
@@
-15,9
+15,9
@@
#define BT_LOG_TAG "PLUGIN-CTF-METADATA-META-UPDATE-TEXT-ARRAY-SEQ"
#include "logging.h"
#define BT_LOG_TAG "PLUGIN-CTF-METADATA-META-UPDATE-TEXT-ARRAY-SEQ"
#include "logging.h"
-#include <babeltrace/babeltrace.h>
-#include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/assert-internal.h>
+#include <babeltrace
2
/babeltrace.h>
+#include <babeltrace
2
/babeltrace-internal.h>
+#include <babeltrace
2
/assert-internal.h>
#include <glib.h>
#include <stdint.h>
#include <string.h>
#include <glib.h>
#include <stdint.h>
#include <string.h>
@@
-35,8
+35,8
@@
int set_text_array_sequence_field_class(struct ctf_field_class *fc)
goto end;
}
goto end;
}
- switch (fc->
id
) {
- case CTF_FIELD_CLASS_
ID
_STRUCT:
+ switch (fc->
type
) {
+ case CTF_FIELD_CLASS_
TYPE
_STRUCT:
{
struct ctf_field_class_struct *struct_fc = (void *) fc;
{
struct ctf_field_class_struct *struct_fc = (void *) fc;
@@
-53,7
+53,7
@@
int set_text_array_sequence_field_class(struct ctf_field_class *fc)
break;
}
break;
}
- case CTF_FIELD_CLASS_
ID
_VARIANT:
+ case CTF_FIELD_CLASS_
TYPE
_VARIANT:
{
struct ctf_field_class_variant *var_fc = (void *) fc;
{
struct ctf_field_class_variant *var_fc = (void *) fc;
@@
-70,13
+70,13
@@
int set_text_array_sequence_field_class(struct ctf_field_class *fc)
break;
}
break;
}
- case CTF_FIELD_CLASS_
ID
_ARRAY:
- case CTF_FIELD_CLASS_
ID
_SEQUENCE:
+ case CTF_FIELD_CLASS_
TYPE
_ARRAY:
+ case CTF_FIELD_CLASS_
TYPE
_SEQUENCE:
{
struct ctf_field_class_array_base *array_fc = (void *) fc;
{
struct ctf_field_class_array_base *array_fc = (void *) fc;
- if (array_fc->elem_fc->
id == CTF_FIELD_CLASS_ID
_INT ||
- array_fc->elem_fc->
id == CTF_FIELD_CLASS_ID
_ENUM) {
+ if (array_fc->elem_fc->
type == CTF_FIELD_CLASS_TYPE
_INT ||
+ array_fc->elem_fc->
type == CTF_FIELD_CLASS_TYPE
_ENUM) {
struct ctf_field_class_int *int_fc =
(void *) array_fc->elem_fc;
struct ctf_field_class_int *int_fc =
(void *) array_fc->elem_fc;
This page took
0.02716 seconds
and
4
git commands to generate.