-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mod] tapapi: change encoding into GBK.
- Loading branch information
Showing
45 changed files
with
4,884 additions
and
2,895 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
#!/usr/bin/env bash | ||
# autocxxpy version: 0.3.4b | ||
python -m autocxxpy \ | ||
vntap \ | ||
iTapTradeAPI.h TapQuoteAPI.h TapAPIError.h iTapAPIError.h \ | ||
-I vntap/include \ | ||
-A custom/custom_wrappers.hpp\ | ||
--output-dir vntap/generated_files \ | ||
--copy-autocxxpy-includes vntap/include \ | ||
--pyi-output-dir . \ | ||
\ | ||
--no-clear-pyi-output-dir \ | ||
\ | ||
--output-arg-pattern \ | ||
"(.*API::.*(sessionID$|.*ClientBuyOrderNo$|.*ClientSellOrderNo$|.*ClientOrderNo$))|(.*Result)" \ | ||
\ | ||
--no-callback-pattern \ | ||
".*API::.*" \ | ||
--no-transform-pattern \ | ||
".*Notify::On.*" | ||
c2py generate \ | ||
vntap \ | ||
iTapTradeAPI.h TapQuoteAPI.h TapAPIError.h iTapAPIError.h \ | ||
-I vntap/include \ | ||
-A custom/custom_wrappers.hpp\ | ||
--output-dir vntap/generated_files \ | ||
--copy-c2py-includes vntap/include \ | ||
--pyi-output-dir . \ | ||
\ | ||
--no-clear-pyi-output-dir \ | ||
\ | ||
--output-arg-pattern \ | ||
"(.*API::.*(sessionID$|.*ClientBuyOrderNo$|.*ClientSellOrderNo$|.*ClientOrderNo$))|(.*Result)" \ | ||
\ | ||
--no-callback-pattern \ | ||
".*API::.*" \ | ||
--no-transform-pattern \ | ||
".*Notify::On.*" \ | ||
\ | ||
--string-encoding-windows .936 \ | ||
--string-encoding-linux zh_CN.GB18030 \ | ||
\ | ||
--enforce-version 0.5.4 | ||
|
||
# python generate_error_map.py |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,293 changes: 496 additions & 797 deletions
1,293
vnpy/api/tap/vntap/generated_files/generated_functions_0.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
488 changes: 188 additions & 300 deletions
488
vnpy/api/tap/vntap/generated_files/generated_functions_1.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
500 changes: 500 additions & 0 deletions
500
vnpy/api/tap/vntap/generated_files/generated_functions_10.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
492 changes: 200 additions & 292 deletions
492
vnpy/api/tap/vntap/generated_files/generated_functions_2.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
1,334 changes: 461 additions & 873 deletions
1,334
vnpy/api/tap/vntap/generated_files/generated_functions_3.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
690 changes: 213 additions & 477 deletions
690
vnpy/api/tap/vntap/generated_files/generated_functions_4.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.