Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cxx.h available to high level code generators. #364

Merged
merged 2 commits into from
Oct 16, 2020

Commits on Oct 16, 2020

  1. Make cxx.h available to high level code generators.

    At present, this file is available only from the git repository,
    but higher level code generators may wish to ensure that they supply
    a version of cxx.h corresponding precisely to the version of cxx
    in use.
    
    Specifically, such higher level code generators may wish to use
    rust::Str and similar types in code which _they_ autogenerate,
    and thus need a way to include definitions of such types. As
    this code is autogenerated, it can't reasonably rummage around
    the cxx git repository to find the correct cxx.h header.
    
    To be even more specific, higher level code generators may wish
    to pass rust::Str and/or rust::String types into C++, in order
    to create UniquePtr<CxxString>s from Rust strings during function
    calls.
    adetaylor committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    c904f8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e01d64 View commit details
    Browse the repository at this point in the history