mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
move string constants into XMLStorage namespace
svn path=/trunk/; revision=23399
This commit is contained in:
parent
8cb05b5ab7
commit
0887b49c1b
2 changed files with 6 additions and 6 deletions
|
@ -44,6 +44,9 @@
|
||||||
#include <precomp.h>
|
#include <precomp.h>
|
||||||
|
|
||||||
|
|
||||||
|
namespace XMLStorage {
|
||||||
|
|
||||||
|
|
||||||
// work around GCC's wide string constant bug
|
// work around GCC's wide string constant bug
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
const LPCXSSTR XMLStorage::XS_EMPTY = XS_EMPTY_STR;
|
const LPCXSSTR XMLStorage::XS_EMPTY = XS_EMPTY_STR;
|
||||||
|
@ -54,9 +57,6 @@ const LPCXSSTR XMLStorage::XS_FLOATFMT = XS_FLOATFMT_STR;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
namespace XMLStorage {
|
|
||||||
|
|
||||||
|
|
||||||
/// remove escape characters from zero terminated string
|
/// remove escape characters from zero terminated string
|
||||||
static std::string unescape(const char* s, char b, char e)
|
static std::string unescape(const char* s, char b, char e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,6 +44,9 @@
|
||||||
#include <precomp.h>
|
#include <precomp.h>
|
||||||
|
|
||||||
|
|
||||||
|
namespace XMLStorage {
|
||||||
|
|
||||||
|
|
||||||
// work around GCC's wide string constant bug
|
// work around GCC's wide string constant bug
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
const LPCXSSTR XMLStorage::XS_EMPTY = XS_EMPTY_STR;
|
const LPCXSSTR XMLStorage::XS_EMPTY = XS_EMPTY_STR;
|
||||||
|
@ -54,9 +57,6 @@ const LPCXSSTR XMLStorage::XS_FLOATFMT = XS_FLOATFMT_STR;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
namespace XMLStorage {
|
|
||||||
|
|
||||||
|
|
||||||
/// remove escape characters from zero terminated string
|
/// remove escape characters from zero terminated string
|
||||||
static std::string unescape(const char* s, char b, char e)
|
static std::string unescape(const char* s, char b, char e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue