*/
#include "object.h"
+#include <babeltrace2-ctf-writer/object.h>
void *bt_ctf_object_get_ref(void *obj)
{
- if (unlikely(!obj)) {
+ if (G_UNLIKELY(!obj)) {
goto end;
}
void bt_ctf_object_put_ref(void *obj)
{
- if (unlikely(!obj)) {
+ if (G_UNLIKELY(!obj)) {
return;
}