Skip to content

Interoperability with legacy SWIG bindings #1706

@kurt-skewton

Description

@kurt-skewton

Hi,

not an issue per se, but a question.

What are the possibilities for having two sets of bindings based on pybind11 and SWIG interoperate? I have a use for a library with existing SWIG bindings, which I would like to extend preferably with pybind11 bindings. I would thus like to be able to pass around SWIG and pybind11 objects both ways.

Is there any scope at all for doing this or this is a deal breaker and a total migration towards pybind11 is required?

Thanks,
Kurt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions