projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
`ctf` plugin: Use CTF_BYTE_ORDER_UNKNOWN in place of -1
[babeltrace.git]
/
src
/
plugins
/
ctf
/
common
/
metadata
/
ctf-meta.h
diff --git
a/src/plugins/ctf/common/metadata/ctf-meta.h
b/src/plugins/ctf/common/metadata/ctf-meta.h
index 8db2dee4ea6588a94d2f47834d06930793125ed4..5924346d7e30c1fccba5b0a3769b6c349fad1ef1 100644
(file)
--- a/
src/plugins/ctf/common/metadata/ctf-meta.h
+++ b/
src/plugins/ctf/common/metadata/ctf-meta.h
@@
-50,6
+50,7
@@
enum ctf_field_class_meaning {
};
enum ctf_byte_order {
};
enum ctf_byte_order {
+ CTF_BYTE_ORDER_UNKNOWN,
CTF_BYTE_ORDER_DEFAULT,
CTF_BYTE_ORDER_LITTLE,
CTF_BYTE_ORDER_BIG,
CTF_BYTE_ORDER_DEFAULT,
CTF_BYTE_ORDER_LITTLE,
CTF_BYTE_ORDER_BIG,
@@
-1636,7
+1637,7
@@
struct ctf_trace_class *ctf_trace_class_create(void)
struct ctf_trace_class *tc = g_new0(struct ctf_trace_class, 1);
BT_ASSERT(tc);
struct ctf_trace_class *tc = g_new0(struct ctf_trace_class, 1);
BT_ASSERT(tc);
- tc->default_byte_order =
-1
;
+ tc->default_byte_order =
CTF_BYTE_ORDER_UNKNOWN
;
tc->clock_classes = g_ptr_array_new_with_free_func(
(GDestroyNotify) ctf_clock_class_destroy);
BT_ASSERT(tc->clock_classes);
tc->clock_classes = g_ptr_array_new_with_free_func(
(GDestroyNotify) ctf_clock_class_destroy);
BT_ASSERT(tc->clock_classes);
This page took
0.024048 seconds
and
4
git commands to generate.