mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Add \n, \r, and 0 String constants.
This commit is contained in:
parent
b6f7cbc315
commit
75f6e45de2
@ -15,11 +15,14 @@ String Handler
|
||||
/***********************************************************************************************************************************
|
||||
Constant strings that are generally useful
|
||||
***********************************************************************************************************************************/
|
||||
STRING_EXTERN(CR_STR, "\r");
|
||||
STRING_EXTERN(EMPTY_STR, "");
|
||||
STRING_EXTERN(FSLASH_STR, "/");
|
||||
STRING_EXTERN(LF_STR, "\n");
|
||||
STRING_EXTERN(N_STR, "n");
|
||||
STRING_EXTERN(NULL_STR, "null");
|
||||
STRING_EXTERN(Y_STR, "y");
|
||||
STRING_EXTERN(ZERO_STR, "0");
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Object type
|
||||
|
@ -92,11 +92,14 @@ By convention all string constant identifiers are appended with _STR.
|
||||
/***********************************************************************************************************************************
|
||||
Constant strings that are generally useful
|
||||
***********************************************************************************************************************************/
|
||||
STRING_DECLARE(CR_STR);
|
||||
STRING_DECLARE(EMPTY_STR);
|
||||
STRING_DECLARE(FSLASH_STR);
|
||||
STRING_DECLARE(LF_STR);
|
||||
STRING_DECLARE(N_STR);
|
||||
STRING_DECLARE(NULL_STR);
|
||||
STRING_DECLARE(Y_STR);
|
||||
STRING_DECLARE(ZERO_STR);
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Helper function/macro for object logging
|
||||
|
Loading…
Reference in New Issue
Block a user