Return pointer when using bt_get()
[babeltrace.git] / include / babeltrace / ref.h
index a667f6f28330023cca59fdc7d7b7a6eb0a51011b..f03f8c9b01f67c9494c8bbf6476a2a84f2e1159f 100644 (file)
  * It is safe to call this function with a NULL object.
  *
  * @param obj Babeltrace object.
+ *
+ * Returns obj.
  */
-void bt_get(void *obj);
+void *bt_get(void *obj);
 
 /*
  * bt_put: decrements the reference count of a Babeltrace object.
This page took 0.024266 seconds and 4 git commands to generate.