From 6244d51ffb108e3e532689c74aa3b4549fb894f1 Mon Sep 17 00:00:00 2001 From: heck Date: Sat, 23 Jan 2021 02:08:17 +0100 Subject: [PATCH] lib_test: Begin adding support for arrays. --- examples/lib/lib_test/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/lib/lib_test/README.md b/examples/lib/lib_test/README.md index d2059e2..a3641c6 100644 --- a/examples/lib/lib_test/README.md +++ b/examples/lib/lib_test/README.md @@ -57,10 +57,12 @@ H = Hosting (Structs only -> structs.h containing the nested struct, cant be primitive) T = Typedef -> typedefs.h I = Incomplete / (forward decl) -> struct.h/enums.h +X = Anonymous (enums onnly) -> enums.h +a = Array (vars (all possible types) and struct fields) +(//p = Pointer (vars (all possible types) and struct fields)) func_ = Function -> functions.h var_ = Variable -> vars.h -U = Anonymous (enums onnly) -> enums.h prefixed underline (e.g _E) means no typedef/alias exists for this item (enum in this case) @@ -86,10 +88,10 @@ typedef _X X; Structs ======= -For structs, a combination is needed to define the type of struct +For structs, a combination is needed to define the type of struct, for example: IS = Struct (Empty or incomplete, neither primitive nor complex) PS = Primitive struct (struct containing only primitive types) -CS = Complex struct (struct containing other structs and primitive) +CS = Complex struct (struct containing other structs/enum and primitive types) NPS = Nested primitive struct Covered combinations