Crate autocxx_engine[−][src]
The core of the autocxx
engine, used by both the
autocxx_macro
and also code generators (e.g. autocxx_build
).
See IncludeCppEngine for general description of how this engine works.
Re-exports
pub use cxx; |
Structs
CppFilePair | Some C++ content which should be written to disk and built. |
GeneratedCpp | All generated C++ content which should be written to disk. |
IncludeCppEngine | Core of the autocxx engine. |
ParsedFile | A Rust file parsed by autocxx. May contain zero or more autocxx ‘engines’,
i.e. the |
Enums
Error | Errors which may occur in generating bindings for these C++ functions. |
ParseError | Errors which may occur when parsing a Rust source file to discover and interpret include_cxx macros. |
Statics
HEADER | The complete contents of the “rust/cxx.h” header. |
Traits
RebuildDependencyRecorder | Implement to learn of header files which get included by this build process, such that your build system can choose to rerun the build process if any such file changes in future. |
Functions
parse_file | Parse a Rust file, and spot any include_cpp macros within it. |
preprocess | Preprocess a file using the same options as is used by autocxx. Input: listing_path, output: preprocess_path. |
Type Definitions
Result | Result type. |