YSTest
PreAlpha_b400_20130424
The YSLib Test Project
首页
相关页面
模块
命名空间
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
config.h
浏览该文件的文档.
1
/*
2
Copyright by FrankHB 2010 - 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
28
#ifndef YSL_INC_Adaptor_config_h_
29
#define YSL_INC_Adaptor_config_h_ 1
30
31
#include "
YCLib/Platform.h
"
32
33
//#define NDEBUG //!< 非调试模式。
34
35
#ifndef NDEBUG
36
# define YB_USE_YASSERT
37
# define YSL_USE_MEMORY_DEBUG
38
#endif
39
40
// YSLib 选项。
41
42
//#define YSL_MULTITHREAD //!< 多线程。
43
49
#undef YSL_USE_COPY_ON_WRITE
50
#if YCL_MULTITHREAD != 0
51
# define YSL_USE_COPY_ON_WRITE 0
52
#else
53
# define YSL_USE_COPY_ON_WRITE 1
54
#endif
55
56
//#define YSL_USE_YASLI_VECTOR //!< 使用 yasli::vector 。
57
//#define YSL_USE_FLEX_STRING //!< 使用 flex_string 。
58
#define YSL_OPT_SMALL_STRING_LENGTH 16
59
60
// YSLib Debug 选项。
61
66
#define YSL_DEBUG_MSG 0
67
68
#endif
69
YFramework
include
YSLib
Adaptor
config.h
生成于 2013年 四月 24日 星期三 18:41:27 , 为 YSTest使用
1.8.2