Parsing for exported functions



2001-10-27  Hans Breuer  <hans breuer org>

        * gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c
          gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c
          gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c
          gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
          gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c
          gtk/gtktreestore.c gtk/gtkvbbox.c : 
        to simplify parsing for exported functions:
        - made implementation signature static, when the local 
          prototype already was
        - put the functions return value on it's own line
        - added as space between the function name and the 
          opening bracket

Sounds like a worthwhile cleanup, but when parsing for exported
functions, you should parse headers, not C files.

Any exports of functiosn that are not in an installed header are
accidental and should not be done on Windows.

Plus, header files tend to be a lot more consistent than C
files in terms of parseability.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]