hikyuu2/hikyuu_cpp/hikyuu/config.h

24 lines
467 B
C++
Raw Normal View History

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
#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_ */