mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 20:08:26 +08:00
62 lines
1.3 KiB
C++
62 lines
1.3 KiB
C++
/*
|
|
* main.cpp
|
|
*
|
|
* Created on: 2011-12-4
|
|
* Author: fasiondog
|
|
*/
|
|
|
|
#include <boost/python.hpp>
|
|
#include <hikyuu/hikyuu.h>
|
|
|
|
void export_DataType();
|
|
void export_Constant();
|
|
void export_util();
|
|
void export_log();
|
|
void export_Datetime();
|
|
void export_StockManager();
|
|
void export_Stock();
|
|
void export_Block();
|
|
void export_MarketInfo();
|
|
void export_StockTypeInfo();
|
|
void export_StockWeight();
|
|
void export_KQuery();
|
|
void export_KReord();
|
|
void export_TimeLineReord();
|
|
void export_TransRecord();
|
|
void export_KData();
|
|
void export_Parameter();
|
|
void export_save_load();
|
|
void export_io_redirect();
|
|
void export_context();
|
|
|
|
BOOST_PYTHON_MODULE(_hikyuu){
|
|
boost::python::docstring_options doc_options(false);
|
|
|
|
boost::python::def("hikyuu_init", hku::hikyuu_init);
|
|
boost::python::def("getStock", hku::getStock);
|
|
boost::python::def("getVersion", hku::getVersion);
|
|
|
|
export_DataType();
|
|
export_Constant();
|
|
export_util();
|
|
export_log();
|
|
export_Datetime();
|
|
export_MarketInfo();
|
|
export_StockTypeInfo();
|
|
export_StockWeight();
|
|
export_StockManager();
|
|
export_KQuery();
|
|
export_KReord();
|
|
export_TimeLineReord();
|
|
export_TransRecord();
|
|
export_KData();
|
|
export_Stock();
|
|
export_Block();
|
|
export_Parameter();
|
|
export_context();
|
|
export_save_load();
|
|
|
|
export_io_redirect();
|
|
}
|
|
|