Put Python plugin support in a separate shared object
[babeltrace.git] / include / babeltrace / ref.h
index 9a74a43ccc61a4108311d673addfd6c6ba01b511..fe266ec3e2653afc0038c47921c7884da02781ab 100644 (file)
@@ -36,6 +36,10 @@ extern "C" {
 @ingroup apiref
 @brief Common reference counting management for all Babeltrace objects.
 
+@code
+#include <babeltrace/ref.h>
+@endcode
+
 The macros and functions of this module are everything that is needed
 to handle the <strong><em>reference counting</em></strong> of
 Babeltrace objects.
@@ -74,7 +78,7 @@ The Babeltrace C API complies with the following key principles:
 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
This page took 0.024222 seconds and 4 git commands to generate.