chore: update readme

This commit is contained in:
2026-05-22 00:57:02 +02:00
parent ac6945e926
commit 7e05924ce4

View File

@@ -40,7 +40,7 @@ int main(void) {
} }
``` ```
3. Build and cmeta 3. Build and run cmeta
```console ```console
$ gcc cmeta.c -o cmeta $ 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
```
> [!INFO]
> It runs `gcc -E`, so it handles macros etc.