From: Ben Pfaff Date: Tue, 26 May 2009 03:24:07 +0000 (-0700) Subject: Make MAX_SHORT_STRING an implementation detail of the "value" code. X-Git-Tag: v0.7.3~71 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69dadb9ec8ffda14e4e1758b4cd32b210bd24649;p=pspp-builds.git 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. --- 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.