projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ir: add user byte order to integer/float types
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event.c
diff --git
a/formats/ctf/ir/event.c
b/formats/ctf/ir/event.c
index eaa725521d30a788cc71f1a037311cfd9a603458..14e605f0e64e78c8d3ffaea374e79547cf0fa79e 100644
(file)
--- a/
formats/ctf/ir/event.c
+++ b/
formats/ctf/ir/event.c
@@
-1049,6
+1049,9
@@
void bt_ctf_event_class_set_native_byte_order(
return;
}
+ assert(byte_order == 0 || byte_order == LITTLE_ENDIAN ||
+ byte_order == BIG_ENDIAN);
+
bt_ctf_field_type_set_native_byte_order(event_class->context,
byte_order);
bt_ctf_field_type_set_native_byte_order(event_class->fields,
This page took
0.036358 seconds
and
4
git commands to generate.