diff --git a/gen/data/input/test_data/structs.h b/gen/data/input/test_data/structs.h index 0d11ee6..fa00e85 100644 --- a/gen/data/input/test_data/structs.h +++ b/gen/data/input/test_data/structs.h @@ -111,7 +111,7 @@ typedef struct CCS { // -------------------------------------------- // _HS = hosting struct without an alias -// _NCS = nested primitive struct without an alias +// _NCS = nested complex struct without an alias struct _HS { int x, y; struct _NCS { diff --git a/gen/data/input/test_data/test_lib.h b/gen/data/input/test_data/test_lib.h index ace7ce1..da8bf2e 100644 --- a/gen/data/input/test_data/test_lib.h +++ b/gen/data/input/test_data/test_lib.h @@ -9,15 +9,15 @@ // Gen-CID // ======= -// CIDG generates a C Interface Defintion file (json) given the inputs: +// Gen-CID generates a C Interface Defintion file (json) given the inputs: // * headerfile // * list of function names needed // * list of var names needed // The generator searches each function/var in the headerfile (recursively) and collects all the // types needed (var type, return type, parm types). -// As structs can contain further types, these dependent types need to be resolved +// As structs can contain further types, these dependent types need to be collected // recursively. -// Finally, the collected types will be resolved to their final underlying type. +// Finally, all the collected types will be resolved to their final underlying type. // If a type is primitive, nothing needs to be done its already defined. // But types of typekind struct or enum need to be defined. // Their definition will be searched for in the headerfile and included in the interface definition