return new_path;
}
+BT_HIDDEN
enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
const struct bt_ctf_field_path *field_path)
{
return scope;
}
+BT_HIDDEN
int bt_ctf_field_path_get_index_count(
const struct bt_ctf_field_path *field_path)
{
return ret;
}
+BT_HIDDEN
int bt_ctf_field_path_get_index(const struct bt_ctf_field_path *field_path,
int index)
{
babeltrace/ctf-ir/field-types.h \
babeltrace/ctf-ir/event.h \
babeltrace/ctf-ir/event-class.h \
- babeltrace/ctf-ir/field-path.h \
babeltrace/ctf-ir/stream.h \
babeltrace/ctf-ir/packet.h \
babeltrace/ctf-ir/stream-class.h \
babeltrace/ctf-ir/packet-internal.h \
babeltrace/ctf-ir/trace-internal.h \
babeltrace/ctf-ir/validation-internal.h \
+ babeltrace/ctf-ir/field-path.h \
babeltrace/ctf-writer/functor-internal.h \
babeltrace/trace-handle-internal.h \
babeltrace/compat/uuid.h \
*
* Returns the root node of a field path, or BT_CTF_SCOPE_UNKNOWN on error.
*/
-extern enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
+BT_HIDDEN
+enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
const struct bt_ctf_field_path *field_path);
/*
*
* Returns the field path's index count, or a negative value on error.
*/
-extern int bt_ctf_field_path_get_index_count(
+BT_HIDDEN
+int bt_ctf_field_path_get_index_count(
const struct bt_ctf_field_path *field_path);
/*
*
* Returns a field path index, or INT_MIN on error.
*/
-extern int bt_ctf_field_path_get_index(
+BT_HIDDEN
+int bt_ctf_field_path_get_index(
const struct bt_ctf_field_path *field_path,
int index);