Shroud¶
Shroud is a tool for creating a Fortran or Python interface to a C or C++ library. It can also create a C API for a C++ library.
The user creates a YAML file with the C/C++ declarations to be wrapped along with some annotations to provide semantic information and code generation options. Shroud produces a wrapper for the library. The generated code is highly-readable and intended to be similar to code that would be hand-written to create the bindings.
- verb
wrap or dress (a body) in a shroud for burial.
cover or envelop so as to conceal from view.
Contents
- Introduction
- Installing
- Tutorial
- Input
- Types
- Pointers and Arrays
- Shared pointers
- Namespaces
- Structs and Classes
- Default Arguments
- Templates
- Declarations
- Preprocessing
- Output Names
- C and C++
- Fortran
- Python
- Cookbook
- How to Expand Functionality
- Typemaps
- Statements
- C Statements
- Fortran Statements
- Helpers
- Reference
- Releases
- Fortran Previous Work
- Python Previous Work
- Future Work
- Sample Fortran Wrappers
- Numpy Struct Descriptor
- Glossary