projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardize *get_*() functions
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
fields.h
diff --git
a/include/babeltrace/ctf-ir/fields.h
b/include/babeltrace/ctf-ir/fields.h
index abdc3dd1593f7d6bffcdf3231046d7e648ba3723..5a030b356e7d4454b32c7c0d892291c3016b3dc5 100644
(file)
--- a/
include/babeltrace/ctf-ir/fields.h
+++ b/
include/babeltrace/ctf-ir/fields.h
@@
-863,9
+863,12
@@
exist.
@sa bt_ctf_field_structure_set_field(): Sets the field of a given
structure field.
*/
@sa bt_ctf_field_structure_set_field(): Sets the field of a given
structure field.
*/
-extern struct bt_ctf_field *bt_ctf_field_structure_get_field(
+extern struct bt_ctf_field *bt_ctf_field_structure_get_field
_by_name
(
struct bt_ctf_field *struct_field, const char *name);
struct bt_ctf_field *struct_field, const char *name);
+/* Pre-2.0 CTF writer compatibility */
+#define bt_ctf_field_structure_get_field bt_ctf_field_structure_get_field_by_name
+
/**
@brief Returns the @field at index \p index in the @structfield
\p struct_field.
/**
@brief Returns the @field at index \p index in the @structfield
\p struct_field.
@@
-890,7
+893,7
@@
extern struct bt_ctf_field *bt_ctf_field_structure_get_field(
structure field.
*/
extern struct bt_ctf_field *bt_ctf_field_structure_get_field_by_index(
structure field.
*/
extern struct bt_ctf_field *bt_ctf_field_structure_get_field_by_index(
- struct bt_ctf_field *struct_field,
in
t index);
+ struct bt_ctf_field *struct_field,
uint64_
t index);
/**
@brief Sets the field of the @structfield \p struct_field named \p name
/**
@brief Sets the field of the @structfield \p struct_field named \p name
This page took
0.024337 seconds
and
4
git commands to generate.