2015-01-07 01:26:14 +08:00
|
|
|
/*
|
|
|
|
* config.h
|
|
|
|
*
|
|
|
|
* Created on: 2013-4-28
|
|
|
|
* Author: fasiondog
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONFIG_H_
|
|
|
|
#define CONFIG_H_
|
|
|
|
|
|
|
|
//support serialization
|
|
|
|
#define HKU_SUPPORT_SERIALIZATION 1
|
|
|
|
|
|
|
|
#if HKU_SUPPORT_SERIALIZATION
|
|
|
|
#define HKU_SUPPORT_TEXT_ARCHIVE 0
|
2018-09-10 02:21:19 +08:00
|
|
|
#define HKU_SUPPORT_XML_ARCHIVE 1 //must 1 for python
|
|
|
|
#define HKU_SUPPORT_BINARY_ARCHIVE 1 //must 1 for python
|
2015-01-07 01:26:14 +08:00
|
|
|
#endif /* HKU_SUPPORT_SERIALIZATION*/
|
|
|
|
|
2016-04-03 00:08:31 +08:00
|
|
|
//检查下标越界
|
|
|
|
#define CHECK_ACCESS_BOUND 1
|
|
|
|
|
2015-01-07 01:26:14 +08:00
|
|
|
#endif /* CONFIG_H_ */
|