From 58f1bac39596dbf87b62658c7798fd883ca133d7 Mon Sep 17 00:00:00 2001 From: gmega Date: Fri, 6 Feb 2026 16:08:10 -0300 Subject: [PATCH] minor rewording of documentation --- library/libstorage.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/library/libstorage.h b/library/libstorage.h index daa14d57..8e6c8c07 100644 --- a/library/libstorage.h +++ b/library/libstorage.h @@ -61,20 +61,18 @@ extern "C" StorageCallback callback, void *userData); - // Get the Logos Storage version string. + // Get the Logos Storage version as a null-terminated string, which + // must then be freed by the caller. // This call does not require the node to be started and // does not involve a thread call. // It is also synchronous, so it does not require a callback. - // Returns a null-terminated string which needs to be deallocated - // by the caller. char *storage_version(void *ctx); - // Get the Logos Storage contracts revision. + // Get the Logos Storage contracts revision as a null-terminated + // string, which must then be freed by the caller. // This call does not require the node to be started and // does not involve a thread call. // It is also synchronous, so it does not require a callback. - // Returns a null-terminated string which needs to be deallocated - // by the caller. char *storage_revision(void *ctx); // Get the repo (data-dir) used by the node.