YSTest
PreAlpha_b400_20130424
The YSLib Test Project
首页
相关页面
模块
命名空间
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
chrdef.h
浏览该文件的文档.
1
/*
2
Copyright by FrankHB 2009 - 2013.
3
4
This file is part of the YSLib project, and may only be used,
5
modified, and distributed under the terms of the YSLib project
6
license, LICENSE.TXT. By continuing to use, modify, or distribute
7
this file you indicate that you have read the license and
8
understand and accept it fully.
9
*/
10
33
#ifndef CHRLIB_INC_CHRDEF_H_
34
#define CHRLIB_INC_CHRDEF_H_ 1
35
36
#include <
ydef.h
>
37
#include <string>
// for std::char_traits;
38
#include "
YCLib/Platform.h
"
// for YF_API;
39
40
#define CHRLIB_BEGIN namespace CHRLib {
41
#define CHRLIB_END }
42
#define CHRLIB_ ::CHRLib::
43
#define CHRLIB ::CHRLib
44
45
#define CHRLIB_BEGIN_NAMESPACE(s) namespace s {
46
#define CHRLIB_END_NAMESPACE(s) }
47
48
CHRLIB_BEGIN
49
50
using
ystdex::byte
;
51
using
ystdex::size_t;
52
53
// 字符类型定义。
54
typedef
char16_t
ucs2_t
;
55
typedef
char32_t
ucs4_t
;
56
typedef
std::char_traits<ucs4_t>::int_type
ucsint_t
;
57
58
CHRLIB_END
59
60
#endif
61
YFramework
include
CHRLib
chrdef.h
生成于 2013年 四月 24日 星期三 18:41:27 , 为 YSTest使用
1.8.2