From 69dadb9ec8ffda14e4e1758b4cd32b210bd24649 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 25 May 2009 20:24:07 -0700 Subject: [PATCH] Make MAX_SHORT_STRING an implementation detail of the "value" code. MAX_SHORT_STRING used to be important. It was referenced all over the source tree. Now, there is little reason for code outside the "value" code itself to use it. --- src/data/value.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/data/value.h b/src/data/value.h index 90f85753..a28b1855 100644 --- a/src/data/value.h +++ b/src/data/value.h @@ -23,6 +23,11 @@ #include #include "xalloc.h" +/* Maximum length of a "short" string, that is represented in + "union value" without a separate pointer. + + This is an implementation detail of the "union value" code. + There is little reason for client code to use it. */ #define MAX_SHORT_STRING 8 /* A numeric or string value. -- 2.30.2