Skip to content

Doing #[repr(C)] for the main data structs #534

@dr-orlovsky

Description

@dr-orlovsky

I have plans of using rust-bitocoin structures - like OutPoint, Transaction, TxIn etc through C FFI in other languages (since Bitcoin Core can't be easily compiled as a library). What do you think, can we add #[repr(C)] to these structures?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions