forked from smarttechnologies/peparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidestring.cpp
22 lines (16 loc) · 966 Bytes
/
widestring.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2016 SMART Technologies. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "widestring.h"
namespace peparser
{
template<> const char Literals<char>::colon = ':';
template<> const wchar_t Literals<wchar_t>::colon = L':';
template<> const char Literals<char>::null = '\0';
template<> const wchar_t Literals<wchar_t>::null = L'\0';
template<> const char* Literals<char>::month[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
template<> const wchar_t* Literals<wchar_t>::month[] = { L"Jan", L"Feb", L"Mar", L"Apr", L"May", L"Jun", L"Jul", L"Aug", L"Sep", L"Oct", L"Nov", L"Dec" };
template<> const char Literals<char>::slash = '/';
template<> const wchar_t Literals<wchar_t>::slash = L'/';
template<> const char Literals<char>::backslash = '\\';
template<> const wchar_t Literals<wchar_t>::backslash = L'\\';
}