lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / plugins / ctf / common / btr / btr.h
index 55d95912dfb04bde929a7d113252a306a16a4296..dbfef72a69a79b6f81023d8a9942edd5544b0d14 100644 (file)
@@ -53,7 +53,7 @@
  */
 enum bt_btr_status {
        /** Out of memory. */
-       BT_BTR_STATUS_ENOMEM =  -5,
+       BT_BTR_STATUS_ENOMEM =          -5,
        /**
         * The binary stream reader reached the end of the user-provided
         * buffer, but data is still needed to finish decoding the
@@ -66,10 +66,10 @@ enum bt_btr_status {
        BT_BTR_STATUS_EOF =             1,
 
        /** Invalid argument. */
-       BT_BTR_STATUS_INVAL =   -3,
+       BT_BTR_STATUS_INVAL =           -3,
 
        /** General error. */
-       BT_BTR_STATUS_ERROR =   -1,
+       BT_BTR_STATUS_ERROR =           -1,
 
        /** Everything okay. */
        BT_BTR_STATUS_OK =              0,
@@ -265,7 +265,7 @@ struct bt_btr_cbs {
                 * @returns             Current selected type (owned by
                 *                      this) or \c NULL on error
                 */
-               struct bt_field_type * (* get_variant_type)(
+               struct bt_field_type * (* borrow_variant_field_type)(
                                struct bt_field_type *type, void *data);
        } query;
 };
This page took 0.024016 seconds and 4 git commands to generate.