From 538043d8febc23fd1a8ef88cd473fca7d547d3fa Mon Sep 17 00:00:00 2001 From: larsewi <53906608+larsewi@users.noreply.github.com> Date: Sun, 26 Jul 2026 10:38:01 +0000 Subject: [PATCH] Formatted C code --- include/leech2.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/leech2.h b/include/leech2.h index ce766cb..9294bc1 100644 --- a/include/leech2.h +++ b/include/leech2.h @@ -36,7 +36,8 @@ extern "C" { /** Return code: the operation completed successfully. */ #define LCH_SUCCESS 0 -/** Return code: the operation failed; details go to the installed log callback. */ +/** Return code: the operation failed; details go to the installed log callback. + */ #define LCH_FAILURE -1 /** Cell-callback return code (see lch_read_cell_cb_t): no row exists at the @@ -288,7 +289,8 @@ typedef int (*lch_read_cell_cb_t)(const char *table, size_t row, size_t col, typedef void (*lch_destroy_cell_cb_t)(lch_cell_t *cell, void *usr_data); /** - * @brief Callback bundle passed to lch_block_create() for callback-backed tables. + * @brief Callback bundle passed to lch_block_create() for callback-backed + * tables. * * Initialize with designated initializers (e.g. `.read_cell = my_read_cell`) * rather than positional ones, so optional fields added in future releases @@ -310,7 +312,8 @@ typedef struct { } lch_callbacks_t; /** - * @brief Create a new block from the current snapshot of every configured table. + * @brief Create a new block from the current snapshot of every configured + * table. * * Reads each table's contents (from the CSV source declared under * [tables.X.csv], or via the callback bundle for tables that have no [csv]