[Mod] update generate scripts

This commit is contained in:
nanoric 2019-03-22 01:05:31 -04:00
parent e33b7dee25
commit 76fccf55e3
3 changed files with 4 additions and 4 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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()