Skip to content

Alias all functions and symbols to a single namespace #37

Closed
@adetaylor

Description

@adetaylor

Right now, to use autocxx-generated bindings from Rust, you need to refer to:

  • ffi::cxxbridge::W for struct W
  • ffi::cxxbridge::X for struct X
  • ffi::Y for constant Y
  • ffi::defs::Z for preprocessor symbol Z

(I think).

This all needs tidying up; at least the first two should be aliased so you can refer to them using just ffi::W; ffi::Z.

It might be that ffi also needs to be made changeable in case there are multiple include_cpp macros in a file.

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