welder
0.1.0
Bindings for annotated C++ types, from C++26 reflection
Toggle main menu visibility
Loading...
Searching...
No Matches
module.hpp
Go to the documentation of this file.
1
#pragma once
10
#include <fstream>
// write the stub to an output-path argument
11
#include <iostream>
// default to stdout
12
13
#include <
welder/rods/lua/luacats/rod.hpp
>
14
23
#define WELDER_LUACATS_MAIN(ns) \
24
int main(int argc, char** argv) { \
25
if (argc > 1) { \
26
::std::ofstream welder_out_{argv[1]}; \
27
::welder::rods::luacats::rod::generate<^^ns>(welder_out_); \
28
} else { \
29
::welder::rods::luacats::rod::generate<^^ns>(::std::cout); \
30
} \
31
return 0; \
32
}
rod.hpp
welder LuaCATS stub rod (header-only, text-emitting).
src
welder
rods
lua
luacats
module.hpp
Generated by
1.17.0