mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-30 02:48:57 +08:00
24 lines
467 B
C++
24 lines
467 B
C++
/*
|
|
* 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
|
|
#define HKU_SUPPORT_XML_ARCHIVE 1 //must 1 for python
|
|
#define HKU_SUPPORT_BINARY_ARCHIVE 1 //must 1 for python
|
|
#endif /* HKU_SUPPORT_SERIALIZATION*/
|
|
|
|
//检查下标越界
|
|
#define CHECK_ACCESS_BOUND 1
|
|
|
|
#endif /* CONFIG_H_ */
|