1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Add true and false String constants.

This commit is contained in:
David Steele 2019-04-22 17:17:56 -04:00
parent 47491e3c47
commit f5739051eb
3 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -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");

View File

@ -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);