Make bt_uuid_from_str() take begin/end pointers
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 10 May 2024 19:11:15 +0000 (15:11 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
commitc7acd0bf7f6233ffc74ee7584990422e981093fa
tree8ccc1900cdf860d5fe174dddb2ce75ec93aa4b48
parentc01775978d47884b3bde80c70ca219691238b027
Make bt_uuid_from_str() take begin/end pointers

Make bt_uuid_from_str() take begin/end pointers (null terminator not
required) to make it possible to call it with a string view.

What used to be bt_uuid_from_str() is now bt_uuid_from_c_str() to avoid
changing existing the logic of call sites.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I4d7c0c434b71c684a90fa696c6654e4b3a5c055c
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12758
src/common/uuid.c
src/common/uuid.h
src/cpp-common/bt2c/uuid.hpp
src/plugins/ctf/common/src/metadata/tsdl/ast.hpp
tests/lib/test-bt-uuid.c
This page took 0.024654 seconds and 4 git commands to generate.