summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cfa0978)
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
The number of labels in \bt_p{*labels} is \bt_p{*count}.
The array is owned by \bt_p{field_class} and remains valid as long
The number of labels in \bt_p{*labels} is \bt_p{*count}.
The array is owned by \bt_p{field_class} and remains valid as long
- as \bt_p{field_class} is not modified.
+ as:
+
+ - \bt_p{field_class} is not modified.
+ - You don't call this function again with \bt_p{field_class}.
@endparblock
@param[out] count
<strong>On success</strong>, \bt_p{*count} is the number of labels
@endparblock
@param[out] count
<strong>On success</strong>, \bt_p{*count} is the number of labels
The number of labels in \bt_p{*labels} is \bt_p{*count}.
The array is owned by \bt_p{field_class} and remains valid as long
The number of labels in \bt_p{*labels} is \bt_p{*count}.
The array is owned by \bt_p{field_class} and remains valid as long
- as \bt_p{field_class} is not modified.
+ as:
+
+ - \bt_p{field_class} is not modified.
+ - You don't call this function again with \bt_p{field_class}.
@endparblock
@param[out] count
<strong>On success</strong>, \bt_p{*count} is the number of labels
@endparblock
@param[out] count
<strong>On success</strong>, \bt_p{*count} is the number of labels