wine/dlls/comcat regsvr.c comcat_main.c

John K. Hohm jhohm at acm.org
Fri Jan 10 16:22:49 CST 2003


Quoting "Dimitrie O. Paun" <dpaun at 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?



More information about the wine-devel mailing list