|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
Full-automation entry point for the LuaCATS stub rod: the WELDER_LUACATS_MAIN generator-main() macro. More...
Go to the source code of this file.
Macros | |
| #define | WELDER_LUACATS_MAIN(ns) |
| Define a main() that emits the LuaCATS stub for namespace ns. | |
Full-automation entry point for the LuaCATS stub rod: the WELDER_LUACATS_MAIN generator-main() macro.
Include this (instead of rod.hpp) in a stub-generator TU so the whole executable is one macro line; welder_luacats_generate_stub() (CMake) builds and runs it into <name>.lua.
Definition in file module.hpp.
| #define WELDER_LUACATS_MAIN | ( | ns | ) |
Define a main() that emits the LuaCATS stub 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_luacats_generate_stub runs it with the output path to produce <ns>.lua.
| ns | the top-level namespace / module name token. |
Definition at line 23 of file module.hpp.