Fix: do not init. BO of enums/arrays/sequences
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 14 Jul 2015 23:01:02 +0000 (19:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 16 Jul 2015 22:08:41 +0000 (18:08 -0400)
commit59acd4f59c7172487c08bcdb59974fce25ca242e
tree51d7e8e6232a9bba09474853f01d17a92726ef43
parent1a3ad29bedacd6f5f3d357d825a2dd00f27caebf
Fix: do not init. BO of enums/arrays/sequences

The functions used to create enumeration, array, and
sequence types are different from the other creation
functions in that they register another type at creation
time. Other compound types are empty when created. When a
type is initialized, its byte order setting function is
called, which is recursive for compound types and for the
enumeration type. This overrides the previously set byte
order of the underlying type passed to those creation functions.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/event-types.c
This page took 0.025655 seconds and 4 git commands to generate.