* If a value exists in the environment for the specified name, it is
* replaced by the new value.
*
* If a value exists in the environment for the specified name, it is
* replaced by the new value.
*
- * The value parameter _must_ be either an integer object or a
- * string object. Other object types are not supported.
+ * The value parameter _must_ be either an integer value object or a
+ * string value object. Other object types are not supported.
*/
extern int bt_ctf_trace_set_environment_field(
struct bt_ctf_trace *trace, const char *name,
*/
extern int bt_ctf_trace_set_environment_field(
struct bt_ctf_trace *trace, const char *name,
*
* Get an environment field's value (an object). The returned object's
* reference count is incremented. When done with the object, the caller
*
* Get an environment field's value (an object). The returned object's
* reference count is incremented. When done with the object, the caller
*
* @param trace Trace instance.
* @param index Index of the environment field.
*
* Returns the environment field's object value, NULL on error.
*/
*
* @param trace Trace instance.
* @param index Index of the environment field.
*
* Returns the environment field's object value, NULL on error.
*/
*
* Get an environment field's value (an object) by its field name. The
* returned object's reference count is incremented. When done with the
*
* Get an environment field's value (an object) by its field name. The
* returned object's reference count is incremented. When done with the
*
* @param trace Trace instance.
* @param name Environment field's name
*
* Returns the environment field's object value, NULL on error.
*/
*
* @param trace Trace instance.
* @param name Environment field's name
*
* Returns the environment field's object value, NULL on error.
*/