Fix: documentation: refer to bt_put()
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 28 Oct 2016 16:40:59 +0000 (12:40 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:06 +0000 (14:09 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/ctf-ir/event.h
include/babeltrace/ctf-ir/fields.h

index 1b50603b8555914f376bf77230237ec901ee6c80..22ac84b17375651fa8e7ee0b08ffb08f14f07dee 100644 (file)
@@ -116,7 +116,7 @@ extern int bt_ctf_event_set_payload_field(struct bt_ctf_event *event,
 /*
  * bt_ctf_event_get_payload: get an event's field.
  *
- * Returns the field matching "name". bt_ctf_field_put() must be called on the
+ * Returns the field matching "name". bt_put() must be called on the
  * returned value.
  *
  * @param event Event instance.
@@ -136,7 +136,7 @@ extern struct bt_ctf_field *bt_ctf_event_get_payload(struct bt_ctf_event *event,
  *
  * Set a manually allocated field as an event's payload. The event will share
  * the field's ownership by using its reference count.
- * bt_ctf_field_put() must be called on the returned value.
+ * bt_put() must be called on the returned value.
  *
  * @param event Event instance.
  * @param name Event field name, see notes.
@@ -155,7 +155,7 @@ extern int bt_ctf_event_set_payload(struct bt_ctf_event *event,
 /*
  * bt_ctf_event_get_payload_by_index: Get event's field by index.
  *
- * Returns the field associated with the provided index. bt_ctf_field_put()
+ * Returns the field associated with the provided index. bt_put()
  * must be called on the returned value. The indexes to be provided are
  * the same as can be retrieved from the event class.
  *
index 9ef06e281b007b2e559fbc75beb1c09226f007ed..74a9f309f3bf41732012572ad5f573921b8c91d6 100644 (file)
@@ -59,7 +59,7 @@ extern struct bt_ctf_field *bt_ctf_field_create(
  * bt_ctf_field_structure_get_field: get a structure's field.
  *
  * Get the structure's field corresponding to the provided field name.
- * bt_ctf_field_put() must be called on the returned value.
+ * bt_put() must be called on the returned value.
  *
  * @param structure Structure field instance.
  * @param name Name of the field in the provided structure.
@@ -73,7 +73,7 @@ extern struct bt_ctf_field *bt_ctf_field_structure_get_field(
  * bt_ctf_field_structure_get_field_by_index: get a structure's field by index.
  *
  * Get the structure's field corresponding to the provided field name.
- * bt_ctf_field_put() must be called on the returned value.
+ * bt_put() must be called on the returned value.
  * The indexes are the same as those provided for bt_ctf_field_type_structure.
  *
  * @param structure Structure field instance.
@@ -87,7 +87,7 @@ extern struct bt_ctf_field *bt_ctf_field_structure_get_field_by_index(
 /*
  * bt_ctf_field_array_get_field: get an array's field at position "index".
  *
- * Return the array's field at position "index". bt_ctf_field_put() must be
+ * Return the array's field at position "index". bt_put() must be
  * called on the returned value.
  *
  * @param array Array field instance.
@@ -130,7 +130,7 @@ extern int bt_ctf_field_sequence_set_length(struct bt_ctf_field *sequence,
  * Return the sequence's field at position "index". The sequence's length must
  * have been set prior to calling this function using
  * bt_ctf_field_sequence_set_length().
- * bt_ctf_field_put() must be called on the returned value.
+ * bt_put() must be called on the returned value.
  *
  * @param array Sequence field instance.
  * @param index Position of the sequence's desired element.
@@ -144,7 +144,7 @@ extern struct bt_ctf_field *bt_ctf_field_sequence_get_field(
  * bt_ctf_field_variant_get_field: get a variant's selected field.
  *
  * Return the variant's selected field. The "tag" field is the selector enum
- * field. bt_ctf_field_put() must be called on the returned value.
+ * field. bt_put() must be called on the returned value.
  *
  * @param variant Variant field instance.
  * @param tag Selector enumeration field.
@@ -190,7 +190,7 @@ extern struct bt_ctf_field *bt_ctf_field_variant_get_tag(
  * bt_ctf_field_enumeration_get_container: get an enumeration field's container.
  *
  * Return the enumeration's underlying container field (an integer).
- * bt_ctf_field_put() must be called on the returned value.
+ * bt_put() must be called on the returned value.
  *
  * @param enumeration Enumeration field instance.
  *
@@ -204,7 +204,7 @@ extern struct bt_ctf_field *bt_ctf_field_enumeration_get_container(
  *     name.
  *
  * Return the enumeration's underlying container field (an integer).
- * bt_ctf_field_put() must be called on the returned value.
+ * bt_put() must be called on the returned value.
  *
  * @param enumeration Enumeration field instance.
  *
This page took 0.026966 seconds and 4 git commands to generate.