projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
m4/ax_lib_elfutils.m4: add cache variable
[babeltrace.git]
/
types
/
struct.c
diff --git
a/types/struct.c
b/types/struct.c
index b9fb6799b938dad37f6788c5bb14cafda8fa571d..7eaa42426054b9a617c551da6fcc38006bcee7e7 100644
(file)
--- a/
types/struct.c
+++ b/
types/struct.c
@@
-242,7
+242,7
@@
struct declaration_field *
* field returned only valid as long as the field structure is not appended to.
*/
struct bt_definition *
* field returned only valid as long as the field structure is not appended to.
*/
struct bt_definition *
-bt_struct_definition_get_field_from_index(struct definition_struct *_struct,
+bt_struct_definition_get_field_from_index(
const
struct definition_struct *_struct,
int index)
{
if (index < 0)
int index)
{
if (index < 0)
@@
-250,7
+250,7
@@
bt_struct_definition_get_field_from_index(struct definition_struct *_struct,
return g_ptr_array_index(_struct->fields, index);
}
return g_ptr_array_index(_struct->fields, index);
}
-uint64_t bt_struct_declaration_len(struct declaration_struct *struct_declaration)
+uint64_t bt_struct_declaration_len(
const
struct declaration_struct *struct_declaration)
{
return struct_declaration->fields->len;
}
{
return struct_declaration->fields->len;
}
This page took
0.025369 seconds
and
4
git commands to generate.