Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for BYTE and CHAR to VARIANT #451

Merged
merged 3 commits into from
Aug 30, 2015

Conversation

mitkola
Copy link
Contributor

@mitkola mitkola commented Jun 2, 2015

Propose support for BYTE and CHAR type of VARIANT.

Add support for VT_UI1 and BYTE constructor.
Another thing to consider is that UCHAR type which must match to "unsigned char" for VT_UI1, cant be set.
Because bVal is of BYTE class while UCHAR is ancestor of BYTE. Can't assign to bVal UCHAR object instance.
In this case it is not possible to make VARIANT(UCHAR value) constructor.
@twall
Copy link
Contributor

twall commented Jun 2, 2015

Corresponding tests?

These are tests for constructor of variants of CHAR and BYTE
twall added a commit that referenced this pull request Aug 30, 2015
Add support for BYTE and CHAR to VARIANT
@twall twall merged commit c4b033f into java-native-access:master Aug 30, 2015
twall added a commit that referenced this pull request Aug 30, 2015
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.

None yet

2 participants