Crate cxx_gen[−][src]
The CXX code generator for constructing and compiling C++ code.
This is intended as a mechanism for embedding the cxx
crate into
higher-level code generators. See dtolnay/cxx#235 and
https://github.com/google/autocxx.
Structs
Error | |
GeneratedCode | Results of code generation. |
Include | A header to #include. |
Opt | Options for C++ code generation. |
Enums
IncludeKind | Whether to emit |
Statics
HEADER | The complete contents of the "rust/cxx.h" header. |
Functions
generate_header_and_cc | Generate C++ bindings code from a Rust token stream. This should be a Rust
token stream which somewhere contains a |