lib: make `bt_attributes_get_count()` return uint64_t
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 24 Oct 2019 14:14:20 +0000 (10:14 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 Oct 2019 19:14:53 +0000 (15:14 -0400)
commit6e30bfdaa1314e2fca0a82d9bf39e6d55780e7fb
tree9b72fa076a5eb8f3dafdc53f43d5814685962863
parentec25f180f1aa33fbe0e29f7d56482e26bb993fb0
lib: make `bt_attributes_get_count()` return uint64_t

This function cannot return a negative number and cannot fail as it uses
the `bt_value_array_get_length()` function.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I1dfb06ffceaab9ef1c1ab6fa11041a2c3ddeb464
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2248
Tested-by: jenkins <jenkins@lttng.org>
src/lib/trace-ir/attributes.c
src/lib/trace-ir/attributes.h
src/lib/trace-ir/trace.c
This page took 0.024405 seconds and 4 git commands to generate.