ir: consolidate reference counting functions
[babeltrace.git] / include / babeltrace / ctf-ir / trace.h
index ba8a5fdf7a374b7e3b85613fc2f0023a5e91caea..cc628a5b5240f804ab26666cabe0d7f2b938e72b 100644 (file)
@@ -43,12 +43,6 @@ struct bt_ctf_stream;
 struct bt_ctf_stream_class;
 struct bt_ctf_clock;
 
-enum bt_environment_field_type {
-       BT_ENVIRONMENT_FIELD_TYPE_UNKNOWN = -1,
-       BT_ENVIRONMENT_FIELD_TYPE_STRING = 0,
-       BT_ENVIRONMENT_FIELD_TYPE_INTEGER = 1,
-};
-
 /*
  * bt_ctf_trace_create: create a trace instance.
  *
@@ -352,6 +346,8 @@ extern int bt_ctf_trace_set_packet_header_type(struct bt_ctf_trace *trace,
  * bt_ctf_trace_get and bt_ctf_trace_put: increment and decrement the
  * trace's reference count.
  *
+ * You may also use bt_ctf_get() and bt_ctf_put() with trace objects.
+ *
  * These functions ensure that the trace won't be destroyed while it
  * is in use. The same number of get and put (plus one extra put to
  * release the initial reference done at creation) have to be done to
This page took 0.024836 seconds and 4 git commands to generate.