|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
Full-automation entry point for the trampoline-generator rod: the WELDER_TRAMPOLINES_MAIN generator-main() macro. More...
Go to the source code of this file.
Macros | |
| #define | WELDER_TRAMPOLINES_MAIN(ns) |
| Define a main() that emits the trampoline header for namespace ns. | |
Full-automation entry point for the trampoline-generator rod: the WELDER_TRAMPOLINES_MAIN generator-main() macro.
Include this (instead of rod.hpp) in a trampoline-generator TU so the whole executable is one macro line; welder_generate_trampolines() (CMake) builds and runs it into <name>.trampolines.hpp.
Definition in file module.hpp.
| #define WELDER_TRAMPOLINES_MAIN | ( | ns | ) |
Define a main() that emits the trampoline header for namespace ns.
Writes to the file named by the first command-line argument, or to stdout when none is given. The build-time analogue of a backend entry point: a generator executable links this and welder_generate_trampolines runs it with the output path to produce the trampoline header consumed by the real binding TU.
| ns | the top-level namespace / module name token. |
Definition at line 23 of file module.hpp.