From 7c5090f60cf07cd8b2813e9a22ed44bd0e120581 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Fri, 22 May 2026 00:57:52 +0200 Subject: [PATCH] chore: update readme --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ba557f7..1f233b4 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ int main(void) { } ``` -3. Build and cmeta +3. Build and run cmeta ```console $ gcc cmeta.c -o cmeta @@ -66,4 +66,12 @@ int main(void) { } ``` -It runs `gcc -E`, so it process everything your code uses, including structs from cmeta itself. +```console +$ gcc main.c -o main +$ ./main +My_Struct.name = My_Struct +My_Struct.fields_count = 2 +``` + +> [!NOTE] +> It runs `gcc -E`, so it handles macros etc.