From cd4e8977b23a0ac7950e773e09b316dfc75d25b5 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周日, 06 9月 2015 20:19:06 +0800 Subject: [PATCH] Move migration guide to documentation --- README.md | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6f15674..47263f3 100644 --- a/README.md +++ b/README.md @@ -13,18 +13,6 @@ [Documentation](http://j123b567.github.io/scpi-parser) -------- -Migration from v1 to v2 ------------------------ -Functions `SCPI_ParamNumber` and `SCPI_NumberToStr` has one more parameter - array of special values. It is still possible to use provided `scpi_special_numbers_def`, but you are free to use different deffinition per parameter. - -Function `SCPI_ParamChoice` has different type of choice list. It is now array of `scpi_choice_def_t` and not array of `const char *`. It is now possible to define `tag`. `SCPI_ParamChoice` will now return value of this tag and not index to array. If you want print the name of the choice value, you should now use `SCPI_ChoiceToName` instead of direct indexing of the array. - -Reading strings is now more correct but it needs secondary copy buffer. You can use function `SCPI_ParamCopyText` to correctly handle strings like `"normal ""quoted"" normal"` will be converted to `normal "quoted" normal`. - -It is now possible to use `SCPI_ParamArbitraryBlock` and `SCPI_ResultArbitraryBlock` to work with binary data input and output. - -Test callback is removed from context. You should now reimplement whole `*TST?` command callback. - Usage --------------- Download source package or clone repository -- Gitblit v1.9.1