lib: add internal bt_field_sequence_get_int_length()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 13 Feb 2018 22:17:31 +0000 (17:17 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 03:32:03 +0000 (23:32 -0400)
commit2e8876d36d8df5011071725df6a2f80861817434
tree0df340196df803a762a76a0b27ff721649578ee4
parent876b387248ba47d4aeb2a9d13ca3f6e11fe419d7
lib: add internal bt_field_sequence_get_int_length()

This new internal helper returns a sequence field's length as an
`int64_t` value instead of returning the integer field. Returns a
negative value on error or if the sequence fields's length field is not
set.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
include/babeltrace/ctf-ir/fields-internal.h
lib/ctf-ir/fields.c
This page took 0.024787 seconds and 4 git commands to generate.