mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-01 11:28:32 +08:00
54 lines
1.1 KiB
C++
54 lines
1.1 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_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_KData();
|
|
void export_Parameter();
|
|
void export_save_load();
|
|
void export_io_redirect();
|
|
|
|
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_Datetime();
|
|
export_MarketInfo();
|
|
export_StockTypeInfo();
|
|
export_StockWeight();
|
|
export_StockManager();
|
|
export_KQuery();
|
|
export_KReord();
|
|
export_KData();
|
|
export_Stock();
|
|
export_Block();
|
|
export_Parameter();
|
|
export_save_load();
|
|
|
|
export_io_redirect();
|
|
}
|
|
|