c3c icon indicating copy to clipboard operation
c3c copied to clipboard

[Enhancement request] Add type identifier for `untyped_list`

Open EroMrinin134 opened this issue 1 week ago • 3 comments

It would be nice to able to check in a macro if a varibale is untyped_list, there also should be a possibility to create explisily one: untyped_list $list = { 1, 2, 3 };

About typedef and alias: I'm not sure if this functional really needed, but this would be great for consistency.

About naming, I have this options: complist, valuelist, anolist, anonlist, rawlist. The name is totally in discussion.

EroMrinin134 avatar Dec 15 '25 12:12 EroMrinin134

ulist clist

lerno avatar Dec 15 '25 21:12 lerno

ulist clist

Maybe ctlist then? (compile-time list) Because c and u prefixes are confusing.

EroMrinin134 avatar Dec 16 '25 05:12 EroMrinin134

anonlist is great; I also like utlist and ctlist

p7r0x7 avatar Dec 16 '25 23:12 p7r0x7

alist for anonymous list I also starting notice that aliasing or typedefing the type feels quite useless.

EroMrinin134 avatar Dec 17 '25 15:12 EroMrinin134

I'm gravitating towards ctlist. Anyone else who wants to weigh in?

lerno avatar Dec 20 '25 20:12 lerno