[Mod] update generate scripts
This commit is contained in:
parent
e33b7dee25
commit
76fccf55e3
@ -336,8 +336,8 @@ class ApiGenerator:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
md_generator = ApiGenerator("ThostFtdcMdApi.h", "ctp", "md", "MdApi")
|
md_generator = ApiGenerator("../include/ctp/ThostFtdcMdApi.h", "ctp", "md", "MdApi")
|
||||||
md_generator.run()
|
md_generator.run()
|
||||||
|
|
||||||
td_generator = ApiGenerator("ThostFtdcTraderApi.h", "ctp", "td", "TdApi")
|
td_generator = ApiGenerator("../include/ctp/ThostFtdcTraderApi.h", "ctp", "td", "TdApi")
|
||||||
td_generator.run()
|
td_generator.run()
|
||||||
|
@ -72,5 +72,5 @@ class DataTypeGenerator:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
generator = DataTypeGenerator("ThostFtdcUserApiDataType.h", "ctp")
|
generator = DataTypeGenerator("../include/ctp/ThostFtdcUserApiDataType.h", "ctp")
|
||||||
generator.run()
|
generator.run()
|
||||||
|
@ -80,5 +80,5 @@ class StructGenerator:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
generator = StructGenerator("ThostFtdcUserApiStruct.h", "ctp")
|
generator = StructGenerator("../include/ctp/ThostFtdcUserApiStruct.h", "ctp")
|
||||||
generator.run()
|
generator.run()
|
||||||
|
Loading…
Reference in New Issue
Block a user