string-format: introduce function to format a bt_error_cause
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Nov 2019 17:02:19 +0000 (12:02 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 5 Dec 2019 19:29:13 +0000 (19:29 +0000)
commit30b828d2858e5b3823f0b36a01563855564d8c19
treef1936e9e0fe754a9a1b027a682bb316eb70f7e93
parent96c1b5feba1f2193b87bab6c29ba47a1b5edd0b5
string-format: introduce function to format a bt_error_cause

In the Python bindings, we'll want to be able to format single error
causes.  Factor out the code to format one bt_error_cause from
format_bt_error.

Change-Id: Ibf5b0363e9a239be6228580246b6613743ace09e
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2434
Tested-by: jenkins <jenkins@lttng.org>
src/string-format/format-error.c
src/string-format/format-error.h
This page took 0.024368 seconds and 4 git commands to generate.