PATCH to libiberty: Move to the intersection of C90 an C++

Ian Lance Taylor ian@airs.com
Tue May 24 17:09:00 GMT 2005


Gabriel Dos Reis <gdr@integrable-solutions.net> writes:

> | Well, if we really can't use inline keyword just in hashtab.c,
> | I think best would be to use a macro.
> | 
> | #define htab_size(htab) ((htab)->size)
> | 
> | size_t
> | (htab_size) (htab_t htab)
> | {
> |   return htab_size (htab);
> | }
> | 
> | and similarly for htab_elements.
> 
> Ian, I guess that suggestion is OK with you?

Yes, that would be fine with me, although I don't know how important
this kind of performance thing is.

Ian



More information about the Gcc-patches mailing list