Skip to content

Add macros for including generated C++ and Python bindings #728

Description

@johanpel

Generated bridge crates currently repeat module wrappers, include! calls, and lint attributes.

Add a small target-side crate exposing helpers such as:

quent_bindings::include_cpp_bridge!(bridge);
quent_bindings::include_instrumentation!(instrumentation);
quent_bindings::include_python_bridge!();

The C++ and instrumentation macros should accept a Rust module name so multiple generated modules can coexist. The Python module name should remain configured through the generator options.

Also see: #638 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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