doc: bt_field_class...get_mapping_labels...(): clarify RV's validity
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 12 Mar 2020 17:33:09 +0000 (13:33 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 12 Mar 2020 17:43:27 +0000 (13:43 -0400)
commit11cbb0e6e35843d89de8c5c072480d3cf77cc05a
tree74955f961e34c524bf8ae7ec9ee3196729ea4374
parentcfa09784cf28d0438342029443ba4ac66157e9eb
doc: bt_field_class...get_mapping_labels...(): clarify RV's validity

The label array which
bt_field_class_enumeration_unsigned_get_mapping_labels_for_value() and
bt_field_class_enumeration_signed_get_mapping_labels_for_value() return
remains valid as long as:

* The enumeration field class is not modified.

* You don't call the same function again with the same enumeration
  field class.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I7b197ab5e176c77f4418d23b12e194c6477e5cf8
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3226
include/babeltrace2/trace-ir/field-class.h
This page took 0.024352 seconds and 4 git commands to generate.