Skip to content

Allow to get ffi types from the rust API #22

@pbor

Description

@pbor

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

  1. Go from Context to SCARDCONTEXT
  2. Go from ReaderState to SCARD_READERSTATE`

It would be great if there were into_raw and from_raw methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions