On Thu, 2015-07-30 at 10:47 +0200, Kjell Ahlstedt wrote:
> There are at least two ways of declaring a function private in glib
> and gtk+:
>       * The function name begins with an underscore (_).
>       * The function is declared in a file whose name ends with
>         private.h.
> 
> The first set of names are excluded by h2def.py and never written to
> the methods.defs files. The second set of names are included in the
> methods.defs files, if the private.h files are input data to
> h2def.py. 
> 
> 
> I suggest that I change the {glibmm|
> gtkmm}/tools/gen_scripts/*_generate_{enums|methods}.sh files to
> exclude private.h files. It's easy with bash's extended pattern
> matching.
> 
> 
> If private.h files are excluded, they ought to be excluded
> consistently every time the .defs files are regenerated, to avoid some
> warnings from gmmproc. That will of course be automatic, if those
> scripts are always used. gmmproc warns for unnecessary _IGNORE
> directives, and what's unnecessary depends on what's in the
> methods.defs file.

Sure. That would be helpful. glib and gtk+ seem to be quite consistent
about this now so it seems wise.

-- 
Murray Cumming
[email protected]
www.murrayc.com


_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to