10 Jan
2003
10 Jan
'03
4:22 p.m.
Quoting "Dimitrie O. Paun" <dpaun(a)rogers.com>:
On January 10, 2003 12:48 am, John K. Hohm wrote:
+ CLSID const *clsid; /* NULL for end of list */ [...] + { NULL } /* list terminator */
Why not terminate the list with a NULL pointer to the struct instead, it's simpler and more idiomatic...
It is because I am using a list of structures, not a list of pointers to structures. How would you create a static list of pointers to structures, without naming each one?