Open pbor opened 2 years ago
I would like to use the pcsc-rs crate to implement a rust module which in turn exposes a C api.
In my case I would need to
Context
SCARDCONTEXT
ReaderState
It would be great if there were into_raw and from_raw methods.
into_raw
from_raw
Now that we explicitly reexport pcsc-sys, this sounds fine to me. Will accept a PR for this.
I would like to use the pcsc-rs crate to implement a rust module which in turn exposes a C api.
In my case I would need to
Context
toSCARDCONTEXT
ReaderState
to SCARD_READERSTATE`It would be great if there were
into_raw
andfrom_raw
methods.