Fix: Remove overly-strict freeze check on variants and structures
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Jul 2015 18:39:51 +0000 (14:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Jul 2015 18:39:51 +0000 (14:39 -0400)
commit6c827042b878570fc8418a7d3c99b2657c2541da
tree5c517a4c64ac237e2015d1284e805adb0bd2aa66
parenta4031f6749758977b2934b13fc1fb53a48ab2dfe
Fix: Remove overly-strict freeze check on variants and structures

bt_ctf_field_type_structure_set_field_index() and
bt_ctf_field_type_variant_set_field_index() are both internal APIs
which are used when resolving field paths.

For exemple, when a sequence's field path is resolved, the sequence
is copied and replaced in its parent since we are setting the
resolved path as part of the sequence. This is done so that different
sequence members which would have been declared using the same sequence
type instance can have length fields which resolve to different absolute
paths.

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