Skip to content

pcsc,pcsc-sys: make ctl_code const fn#57

Merged
bluetech merged 1 commit intobluetech:masterfrom
sola-contrib:constify
Dec 12, 2024
Merged

pcsc,pcsc-sys: make ctl_code const fn#57
bluetech merged 1 commit intobluetech:masterfrom
sola-contrib:constify

Conversation

@unlimitedsola
Copy link
Contributor

Closes #55

Please refer to the linked issue for more background.

Copy link
Owner

@bluetech bluetech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The risk here is if SCARD_CTL_CODE ever becomes an FFI function in a PCSC implementation, instead of a macro. But I think the chance of this is low. So this looks good to me. Thanks!

@bluetech bluetech merged commit f2cd1ba into bluetech:master Dec 12, 2024
6 checks passed
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.

Make ctl_code const

2 participants