Skip to content

Conversation

@stlehmann
Copy link
Owner

@stlehmann stlehmann commented Nov 29, 2021

Targets #291

@stlehmann stlehmann changed the title Add WSTRING support for structures (#291) Add WSTRING support for structures ( Nov 29, 2021
@stlehmann stlehmann changed the title Add WSTRING support for structures ( Add WSTRING support for structures Nov 29, 2021
@coveralls
Copy link

coveralls commented Nov 29, 2021

Pull Request Test Coverage Report for Build 1576787639

  • 36 of 36 (100.0%) changed or added relevant lines in 3 files are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.2%) to 94.255%

Files with Coverage Reduction New Missed Lines %
pyads/pyads_ex.py 1 90.37%
pyads/testserver/testserver.py 5 90.76%
Totals Coverage Status
Change from base Build 1519582091: -0.2%
Covered Lines: 1690
Relevant Lines: 1793

💛 - Coveralls

@stlehmann stlehmann force-pushed the add-wstring-support-for-structures branch from a3955e1 to dc7f7d4 Compare December 9, 2021 12:28
@stlehmann stlehmann marked this pull request as ready for review December 10, 2021 09:32
@stlehmann
Copy link
Owner Author

This adds support for WSTRINGs in structures, both as fields and as arrays.
@chrisbeardy would you mind taking a look at this PR and giving a short review as this involves some changes on the codebase written by you.

- str_len now is always the number of characters without null-terminator
- n_bytes is the number of bytes and differs for STRING or WSTRING
@stlehmann stlehmann force-pushed the add-wstring-support-for-structures branch from 6051aa3 to 7e57d73 Compare December 13, 2021 12:54
@stlehmann stlehmann merged commit fe00679 into master Dec 14, 2021
@stlehmann stlehmann deleted the add-wstring-support-for-structures branch December 14, 2021 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants