improve README

This commit is contained in:
2026-06-07 19:14:45 +02:00
parent a8150171fc
commit 91ddcd4f79

View File

@@ -65,4 +65,8 @@ class ExampleGenerator : Cpp2BeefGenerator, this(Span<char8*> args)
// There are functions you can override, but these are the most common // There are functions you can override, but these are the most common
} }
// Create a single header file that includes all other header files and then call Generate once
// This is significanly faster than calling Generate for each header file because of header guards
scope ExampleGenerator(char8*[?]("--language=c", "-DSOMETHING")).Generate("example.h");
``` ```