1 个仓库
Extracting and preserving source code comments from headers to include as documentation in generated bindings.
Distinct from C Header Binding Generators: Distinct from C Header Binding Generators: focuses on the extraction of metadata/comments for documentation rather than the generation of types.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Comment Extraction. Refine with filters or upvote what's useful.
Rust-bindgen is a build-time foreign function interface binding generator and C header parser designed to automate cross-language interoperability. It functions as a tool to bridge Rust with C, C++, and Objective-C libraries by producing platform-specific declarations during the compilation process. The project distinguishes itself through its ability to handle complex C-family language constructs, including C++ inheritance and methods, as well as Objective-C classes and protocols. It ensures binary compatibility across different architectures by calculating target-aware memory layouts and va
Retains comments from system headers during parsing so they appear as documentation in the generated bindings.