3. A Babeltrace object pointer received as a parameter in a user
function called back from an API function is a
<strong>borrowed</strong>, or <strong>weak reference</strong>: if you
- need a reference which is more persistent that the duration of the
+ need a reference which is more persistent than the duration of the
user function, call bt_get() on the pointer.
@image html ref-count-callback.png
- For example, see bt_value_map_foreach().
+ For example, see bt_value_map_foreach_entry().
The two macros BT_PUT() and BT_MOVE() operate on \em variables rather
than pointer values. You should use BT_PUT() instead of bt_put() when