Skip to content
Permalink
Browse files

Add true and false String constants.

  • Loading branch information...
dwsteele committed Apr 22, 2019
1 parent 47491e3 commit f5739051eba3dae6cbee6d1fc0f72c36705c3be1
Showing with 8 additions and 0 deletions.
  1. +4 −0 doc/xml/release.xml
  2. +2 −0 src/common/type/string.c
  3. +2 −0 src/common/type/string.h
@@ -37,6 +37,10 @@
<p><code>varNewKv()</code> accepts a <code>KeyValue</code> object rather than creating one.</p>
</release-item>

<release-item>
<p>Add <id>true</id> and <id>false</id> <code>String</code> constants.</p>
</release-item>

<release-item>
<p>Refactor <code>Ini</code> interface to expose <code>String</code> values instead of <code>Variant</code>.</p>
</release-item>
@@ -19,10 +19,12 @@ STRING_EXTERN(BRACKETR_STR, "]");
STRING_EXTERN(CR_STR, "\r");
STRING_EXTERN(EMPTY_STR, "");
STRING_EXTERN(EQ_STR, "=");
STRING_EXTERN(FALSE_STR, "false");
STRING_EXTERN(FSLASH_STR, "/");
STRING_EXTERN(LF_STR, "\n");
STRING_EXTERN(N_STR, "n");
STRING_EXTERN(NULL_STR, "null");
STRING_EXTERN(TRUE_STR, "true");
STRING_EXTERN(Y_STR, "y");
STRING_EXTERN(ZERO_STR, "0");

@@ -122,10 +122,12 @@ STRING_DECLARE(BRACKETR_STR);
STRING_DECLARE(CR_STR);
STRING_DECLARE(EMPTY_STR);
STRING_DECLARE(EQ_STR);
STRING_DECLARE(FALSE_STR);
STRING_DECLARE(FSLASH_STR);
STRING_DECLARE(LF_STR);
STRING_DECLARE(N_STR);
STRING_DECLARE(NULL_STR);
STRING_DECLARE(TRUE_STR);
STRING_DECLARE(Y_STR);
STRING_DECLARE(ZERO_STR);

0 comments on commit f573905

Please sign in to comment.
You can’t perform that action at this time.