/*
+ * Copyright 2016-2018 Philippe Proulx <pproulx@efficios.com>
* Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- * Copyright 2016 Philippe Proulx <pproulx@efficios.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
#include <babeltrace/trace-ir/field-class-internal.h>
#include <babeltrace/trace-ir/field-path-internal.h>
#include <babeltrace/trace-ir/field-path-const.h>
-#include <babeltrace/object.h>
#include <limits.h>
#include <stdint.h>
#include <inttypes.h>
BT_ASSERT_PRE_VALID_INDEX(index, field_path->indexes->len);
return bt_field_path_get_index_by_index_inline(field_path, index);
}
+
+void bt_field_path_get_ref(const struct bt_field_path *field_path)
+{
+ bt_object_get_ref(field_path);
+}
+
+void bt_field_path_put_ref(const struct bt_field_path *field_path)
+{
+ bt_object_put_ref(field_path);
+}